diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-18 12:07:40 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-18 12:07:40 +0200 |
commit | b78f1d3da1d7321240d92f25a239033bbc6fa2d1 (patch) | |
tree | ad0d8bfe6a07c9ecf4630a5a71cfd36eaeaeeb3b | |
parent | e59fdc42ed4f003adf01759e6d9e030a41305467 (diff) | |
download | prosody-b78f1d3da1d7321240d92f25a239033bbc6fa2d1.tar.gz prosody-b78f1d3da1d7321240d92f25a239033bbc6fa2d1.zip |
util.pposix: Fix building on OS X (#1202)
-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 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; |