Commit 50f2cfc3 authored by Sam Lantinga's avatar Sam Lantinga

Fixed MacOS X and Solaris detection

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401638
parent 1f2f6191
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
#undef __MACOS__ #undef __MACOS__
#define __MACOS__ 1 #define __MACOS__ 1
#endif #endif
#if defined(__GNUC__) && (defined(__APPLE_CC__) || defined(__APPLE_CPP__)) #if defined(__APPLE__)
#undef __MACOSX__ #undef __MACOSX__
#define __MACOSX__ 1 #define __MACOSX__ 1
#endif #endif
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
#undef __RISCOS__ #undef __RISCOS__
#define __RISCOS__ 1 #define __RISCOS__ 1
#endif #endif
#if defined(solaris) || defined(__solaris) || defined(__solaris__) #if defined(__SVR4)
#undef __SOLARIS__ #undef __SOLARIS__
#define __SOLARIS__ 1 #define __SOLARIS__ 1
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment