Core/Build: Update the G3DLite extra patch to compile under OS X with Clang

This commit is contained in:
Tuxity
2012-11-09 16:56:10 +01:00
parent a57254d769
commit 2d0dddfcbe

View File

@@ -10,3 +10,16 @@ index 3469b81..9fe098d 100644
#endif
diff --git a/dep/g3dlite/include/G3D/platform.h b/dep/g3dlite/include/G3D/platform.h
index c8d2f0b..11093f4 100644
--- a/dep/g3dlite/include/G3D/platform.h
+++ b/dep/g3dlite/include/G3D/platform.h
@@ -57,7 +57,7 @@
#elif defined(__linux__)
#define G3D_LINUX
#elif defined(__APPLE__)
- #define G3D_OSX
+ #define G3D_LINUX
// Prevent OS X fp.h header from being included; it defines
// pi as a constant, which creates a conflict with G3D