Mercurial > sdl-ios-xcode
changeset 1631:510b009a864c
Fixed MacOS X and Solaris detection
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 13 Apr 2006 14:59:34 +0000 |
parents | eba962f9d603 |
children | 89e25c25213c |
files | include/SDL_platform.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/include/SDL_platform.h Thu Apr 13 14:27:58 2006 +0000 +++ b/include/SDL_platform.h Thu Apr 13 14:59:34 2006 +0000 @@ -65,7 +65,7 @@ #undef __MACOS__ #define __MACOS__ 1 #endif -#if defined(__GNUC__) && (defined(__APPLE_CC__) || defined(__APPLE_CPP__)) +#if defined(__APPLE__) #undef __MACOSX__ #define __MACOSX__ 1 #endif @@ -93,7 +93,7 @@ #undef __RISCOS__ #define __RISCOS__ 1 #endif -#if defined(solaris) || defined(__solaris) || defined(__solaris__) +#if defined(__SVR4) #undef __SOLARIS__ #define __SOLARIS__ 1 #endif