aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/qcommon/q_platform.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/code/qcommon/q_platform.h b/code/qcommon/q_platform.h
index c77f8c4..2fddaee 100644
--- a/code/qcommon/q_platform.h
+++ b/code/qcommon/q_platform.h
@@ -93,7 +93,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//============================================================== MAC OS X ===
-#if defined(MACOS_X)
+#if defined(MACOS_X) || defined(__APPLE_CC__)
+
+// make sure this is defined, just for sanity's sake...
+#ifndef MACOS_X
+#define MACOS_X
+#endif
#define OS_STRING "macosx"
#define ID_INLINE inline
@@ -101,12 +106,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef __ppc__
#define ARCH_STRING "ppc"
+#define Q3_BIG_ENDIAN
#elif defined __i386__
#define ARCH_STRING "i386"
+#define Q3_LITTLE_ENDIAN
#endif
-#define Q3_BIG_ENDIAN
-
#endif
//=================================================================== MAC ===