summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/q_shared.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/q_shared.h b/src/game/q_shared.h
index 153ce970..3274690c 100644
--- a/src/game/q_shared.h
+++ b/src/game/q_shared.h
@@ -81,6 +81,10 @@
#include "bg_lib.h"
+#ifdef __linux__
+#undef __linux__
+#endif
+
#else
#include <assert.h>
@@ -242,7 +246,6 @@ static inline float LittleFloat (const float l) { return FloatSwap(&l); }
// the mac compiler can't handle >32k of locals, so we
// just waste space and make big arrays static...
#ifdef __linux__
-#ifndef __LCC__ //TA: q3lcc defines __linux__
// bk001205 - from Makefile
#define stricmp strcasecmp
@@ -285,7 +288,6 @@ inline static float LittleFloat (const float *l) { return FloatSwap(l); }
#endif
#endif
-#endif
//======================= FreeBSD DEFINES =====================
#ifdef __FreeBSD__ // rb010123