According to README, OS X is considered a UNIX platform, so I think we should just edit README.unix
Also, CircleMUD uses the naming convention CIRCLE_<platform> for these type of #defines, so
the name I chose before should follow this. With this in mind, I think the following is
sufficient:
In README.unix, the following step should be added (after decompression and before configuring)
Code:
3) If you are not compiling on a version of Macintosh OS X, skip this step.
Open the file Makefile.in which is located in the src directory.
Make the following change:
Fine the line: MYFLAGS = @MYFLAGS@
Replace it with: MYFLAGS = -DCIRCLE_OS_X
In sysdep.h
Code:
+ #ifndef CIRCLE_OS_X
/* Guess if we have the getrlimit()/setrlimit() functions */
#if defined(RLIMIT_NOFILE) || defined (RLIMIT_OFILE)
#define HAS_RLIMIT
#if !defined (RLIMIT_NOFILE)
# define RLIMIT_NOFILE RLIMIT_OFILE
#endif
#endif
+ #endif /*CIRCLE_OS_X*/