aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-08 11:42:22 +0200
committerKim Alvefur <zash@zash.se>2018-09-08 11:42:22 +0200
commite837abbf5d6c5984a25ebd81dc7299cca2a561b1 (patch)
tree9908168db100e53afc5d0fba348e40665ea5d386 /util-src
parent6391242937bb364d32014bec881adaa0b8ce24a8 (diff)
parentb78f1d3da1d7321240d92f25a239033bbc6fa2d1 (diff)
downloadprosody-e837abbf5d6c5984a25ebd81dc7299cca2a561b1.tar.gz
prosody-e837abbf5d6c5984a25ebd81dc7299cca2a561b1.zip
Merge 0.10->trunk
Diffstat (limited to 'util-src')
-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;