From b128225d7083486ed1566de5a76e602baeecc8a5 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 29 Dec 2005 00:58:58 +0000 Subject: * Merged ioq3-r451 into trunk --- src/qcommon/q_platform.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/qcommon/q_platform.h') diff --git a/src/qcommon/q_platform.h b/src/qcommon/q_platform.h index cb8e66ff..92e5be1a 100644 --- a/src/qcommon/q_platform.h +++ b/src/qcommon/q_platform.h @@ -193,6 +193,32 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif +//================================================================ NetBSD === + +// This is very much like the FreeBSD one and can probably be merged +#ifdef __NetBSD__ + +#include + +#define OS_STRING "netbsd" +#define ID_INLINE inline +#define PATH_SEP '/' + +#ifdef __i386__ +#define ARCH_STRING "i386" +// Netbsd has alot of platforms +#endif + +#if BYTE_ORDER == BIG_ENDIAN +#define Q3_BIG_ENDIAN +#else +#define Q3_LITTLE_ENDIAN +#endif + +#define DLL_EXT ".so" + +#endif + //================================================================= SUNOS === #ifdef __sun -- cgit