Software /
code /
prosody
Diff
util-src/pposix.c @ 9278:8f9e18d4fe50
util.pposix: Fix building on OS X (#1202)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 18 Aug 2018 12:07:40 +0200 |
parent | 8012:e898c8fda986 |
child | 9279:d5c771097ea7 |
child | 9280:37b796cc366a |
line wrap: on
line diff
--- a/util-src/pposix.c Tue Jul 24 19:07:26 2018 +0200 +++ b/util-src/pposix.c Sat Aug 18 12:07:40 2018 +0200 @@ -517,7 +517,7 @@ return RLIMIT_STACK; } -#if !(defined(sun) || defined(__sun)) +#if !(defined(sun) || defined(__sun) || defined(__APPLE__)) if(!strcmp(s, "MEMLOCK")) { return RLIMIT_MEMLOCK;