MacOS does NOT support macro RLIMIT_MSGQUEUE

pull/12/head
Yu Qing 2017-01-12 09:51:41 +08:00
parent 9e7965b2f1
commit 5120b1daf0
1 changed files with 2 additions and 0 deletions

View File

@ -1350,9 +1350,11 @@ int set_rlimit(int resource, const rlim_t value)
case RLIMIT_NOFILE:
label = "max open files";
break;
#ifdef RLIMIT_MSGQUEUE
case RLIMIT_MSGQUEUE:
label = "max bytes in msg queues";
break;
#endif
case RLIMIT_MEMLOCK:
label = "max locked-in-memory address space";
break;