Changeset

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 (2018-08-18)
parents 9069:22e5f11c778a
children 9279:d5c771097ea7 9280:37b796cc366a
files util-src/pposix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;