[Freeswitch-svn] [commit] r12521 - freeswitch/trunk/src
FreeSWITCH SVN
mrene at freeswitch.org
Sat Mar 7 21:43:51 PST 2009
Author: mrene
Date: Sat Mar 7 23:43:51 2009
New Revision: 12521
Log:
RLIMIT_RTPID isnt defined on OSX
Modified:
freeswitch/trunk/src/switch_core.c
Modified: freeswitch/trunk/src/switch_core.c
==============================================================================
--- freeswitch/trunk/src/switch_core.c (original)
+++ freeswitch/trunk/src/switch_core.c Sat Mar 7 23:43:51 2009
@@ -809,7 +809,10 @@
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
More information about the Freeswitch-svn
mailing list