Skip to content
Permalink
Browse files

Fixed MacOS X and Solaris detection

  • Loading branch information
slouken committed Apr 13, 2006
1 parent 22dd1f7 commit 76aa3b243b23ae957eb3156aeefb6b026e6cbcc9
Showing with 2 additions and 2 deletions.
  1. +2 −2 include/SDL_platform.h
@@ -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

0 comments on commit 76aa3b2

Please sign in to comment.