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 e70a9d7f..5e20def7 100644
--- a/util-src/pposix.c
+++ b/util-src/pposix.c
@@ -517,7 +517,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;