Modified checks for defined __FreeBSD__ to also include defined (__OpenBSD__)

From: http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=840

Kent
This commit is contained in:
2003-01-30 18:51:05 +00:00
parent 96cb7d1629
commit 9475bf9e29
4 changed files with 4 additions and 10 deletions

View File

@@ -81,7 +81,7 @@ typedef unsigned __int64 uint64_t;
#ifdef _WIN32
#define htonl(x) correctByteOrder(x)
#define ntohl(x) correctByteOrder(x)
#elif defined __FreeBSD__
#elif defined (__FreeBSD__) || defined (__OpenBSD__)
#include <sys/param.h>
#elif defined (__APPLE__)
#include <sys/types.h>