util-src/pposix.c
changeset 9282 d5c771097ea7
parent 9280 fa6a6f921405
parent 9281 8f9e18d4fe50
child 9284 927adf8648d3
equal deleted inserted replaced
9280:fa6a6f921405 9282:d5c771097ea7
   518 
   518 
   519 	if(!strcmp(s, "STACK")) {
   519 	if(!strcmp(s, "STACK")) {
   520 		return RLIMIT_STACK;
   520 		return RLIMIT_STACK;
   521 	}
   521 	}
   522 
   522 
   523 #if !(defined(sun) || defined(__sun))
   523 #if !(defined(sun) || defined(__sun) || defined(__APPLE__))
   524 
   524 
   525 	if(!strcmp(s, "MEMLOCK")) {
   525 	if(!strcmp(s, "MEMLOCK")) {
   526 		return RLIMIT_MEMLOCK;
   526 		return RLIMIT_MEMLOCK;
   527 	}
   527 	}
   528 
   528