diff options
-rw-r--r-- | util-src/pposix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-src/pposix.c b/util-src/pposix.c index e7d91b37..4ce55075 100644 --- a/util-src/pposix.c +++ b/util-src/pposix.c @@ -520,7 +520,7 @@ int string2resource(const char *s) { return RLIMIT_STACK; } -#if !(defined(sun) || defined(__sun)) +#if !(defined(sun) || defined(__sun) || defined(__APPLE__)) if(!strcmp(s, "MEMLOCK")) { return RLIMIT_MEMLOCK; |