FSCORE-254 NetBSD does not have RLIMIT_AS

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10756 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-12-14 16:41:33 +00:00
parent 5279d8231a
commit 5a13d0e265
1 changed files with 1 additions and 1 deletions

View File

@ -781,7 +781,7 @@ SWITCH_DECLARE(void) switch_core_setrlimits(void)
setrlimit(RLIMIT_CPU, &rlp);
setrlimit(RLIMIT_DATA, &rlp);
setrlimit(RLIMIT_FSIZE, &rlp);
#ifndef __OpenBSD__
#if !defined(__OpenBSD__) && !defined(__NetBSD__)
setrlimit(RLIMIT_AS, &rlp);
#endif
#endif