]> git.jsancho.org Git - lugaru.git/commitdiff
Mac OS X builds sanity check.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 8 Nov 2009 06:28:58 +0000 (01:28 -0500)
committerRyan C. Gordon <icculus@icculus.org>
Sun, 8 Nov 2009 06:28:58 +0000 (01:28 -0500)
Source/Game.h

index fd95830eb248f8abfdb2a691f6424a46bb4fa348..65f6887d23b0249492e2183c91ecfff545b980e3 100644 (file)
@@ -1,6 +1,12 @@
 #ifndef _GAME_H_
 #define _GAME_H_
 
+#if (defined(__APPLE__) && defined(__MACH__))
+#  ifdef PLATFORM_MACOSX
+#    error Do not define PLATFORM_MACOSX for new builds. It is for the old Carbonized build.
+#  endif
+#endif
+
 #ifdef PLATFORM_MACOSX
 #include <Carbon.h>
 #include "Quicktime.h"