Skip to content

Commit

Permalink
Prevent both __MACOS__ and __MACOSX__ from being defined in Codewarrior
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 10, 2006
1 parent c2d0829 commit 8c06657
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/SDL_platform.h
Expand Up @@ -61,13 +61,12 @@
#undef __LINUX__
#define __LINUX__ 1
#endif
#if defined(macintosh)
#undef __MACOS__
#define __MACOS__ 1
#endif
#if defined(__APPLE__)
#undef __MACOSX__
#define __MACOSX__ 1
#elif defined(macintosh)
#undef __MACOS__
#define __MACOS__ 1
#endif
#if defined(__NetBSD__)
#undef __NETBSD__
Expand Down

0 comments on commit 8c06657

Please sign in to comment.