mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-26 12:08:48 +01:00
Update sysdep.h
Added Mac OS X define for rlimit (thanks Kyle)
This commit is contained in:
parent
1e274184d7
commit
ee9a87764d
1 changed files with 2 additions and 0 deletions
|
|
@ -325,6 +325,7 @@ struct in_addr {
|
|||
#define cpp_extern /* Nothing */
|
||||
#endif
|
||||
|
||||
#ifndef CIRCLE_OS_X
|
||||
/* Guess if we have the getrlimit()/setrlimit() functions */
|
||||
#if defined(RLIMIT_NOFILE) || defined (RLIMIT_OFILE)
|
||||
#define HAS_RLIMIT
|
||||
|
|
@ -332,6 +333,7 @@ struct in_addr {
|
|||
# define RLIMIT_NOFILE RLIMIT_OFILE
|
||||
#endif
|
||||
#endif
|
||||
#endif /*CIRCLE_OS_X*/
|
||||
|
||||
/* Make sure we have STDERR_FILENO */
|
||||
#ifndef STDERR_FILENO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue