aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/pposix.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-src/pposix.c')
-rw-r--r--util-src/pposix.c2
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;