* NetBSD support patch from optical (alex@rigbo.se)
This commit is contained in:
@@ -192,6 +192,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 <machine/endian.h>
|
||||
|
||||
#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
|
||||
|
Reference in New Issue
Block a user