aboutsummaryrefslogtreecommitdiffstats
path: root/code/splines/q_shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'code/splines/q_shared.h')
-rw-r--r--code/splines/q_shared.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/code/splines/q_shared.h b/code/splines/q_shared.h
index c554823..fd78931 100644
--- a/code/splines/q_shared.h
+++ b/code/splines/q_shared.h
@@ -228,6 +228,34 @@ void Sys_PumpEvents( void );
#endif
+//======================= FreeBSD DEFINES =====================
+/* Adapted from game/q_shared.h */
+#ifdef __FreeBSD__ // rb010123
+
+#define stricmp strcasecmp
+
+#define MAC_STATIC
+#define ID_INLINE inline
+
+#ifdef __i386__
+#define CPUSTRING "freebsd-i386"
+#elif defined __axp__
+#define CPUSTRING "freebsd-alpha"
+#else
+#define CPUSTRING "freebsd-other"
+#endif
+
+#define PATH_SEP '/'
+
+#ifdef Q3_STATIC
+#define GAME_HARD_LINKED
+#define CGAME_HARD_LINKED
+#define UI_HARD_LINKED
+#define BOTLIB_HARD_LINKED
+#endif
+
+#endif
+
//=============================================================