mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.pposix: Fix building on OS X (#1202)
This commit is contained in:
parent
e59fdc42ed
commit
b78f1d3da1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue