IS_FREEBSD

This commit is contained in:
David Rose 2009-03-11 18:36:03 +00:00
parent 0c3642782b
commit 2820bca34b
3 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,8 @@
// to a subsequent version of Panda.
// *******************************************************************
#define IS_FREEBSD 1
// What additional flags should we pass to interrogate?
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -D__LITTLE_ENDIAN__ -D__inline__=inline -D__GNUC__

View File

@ -600,6 +600,7 @@ $[cdefine USE_STL_ALLOCATOR]
/* Platform-identifying defines. */
$[cdefine IS_OSX]
$[cdefine IS_LINUX]
$[cdefine IS_FREEBSD]
#end dtool_config.h

View File

@ -244,7 +244,7 @@ const int LOCAL_CONNECT_BLOCKING = EINPROGRESS;
* LINUX and FreeBSD STUFF
************************************************************************/
#elif defined(IS_LINUX) || defined(IS_OSX) || defined(FreeBSD)
#elif defined(IS_LINUX) || defined(IS_OSX) || defined(IS_FREEBSD)
#include <sys/types.h>
#include <sys/time.h>