Comparison

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
comparison
equal deleted inserted replaced
9069:22e5f11c778a 9278:8f9e18d4fe50
515 515
516 if(!strcmp(s, "STACK")) { 516 if(!strcmp(s, "STACK")) {
517 return RLIMIT_STACK; 517 return RLIMIT_STACK;
518 } 518 }
519 519
520 #if !(defined(sun) || defined(__sun)) 520 #if !(defined(sun) || defined(__sun) || defined(__APPLE__))
521 521
522 if(!strcmp(s, "MEMLOCK")) { 522 if(!strcmp(s, "MEMLOCK")) {
523 return RLIMIT_MEMLOCK; 523 return RLIMIT_MEMLOCK;
524 } 524 }
525 525