RLIMIT_RTPID isnt defined on OSX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12521 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
eeb8403841
commit
53d9f13c43
|
@ -809,7 +809,10 @@ SWITCH_DECLARE(void) switch_core_setrlimits(void)
|
|||
setrlimit(RLIMIT_DATA, &rlp);
|
||||
setrlimit(RLIMIT_FSIZE, &rlp);
|
||||
setrlimit(RLIMIT_NPROC, &rlp);
|
||||
#ifdef RLIMIT_RTPRIO
|
||||
setrlimit(RLIMIT_RTPRIO, &rlp);
|
||||
#endif
|
||||
|
||||
#if !defined(__OpenBSD__) && !defined(__NetBSD__)
|
||||
setrlimit(RLIMIT_AS, &rlp);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue