diff include/SDL_platform.h @ 2707:6259afb046c5

Reverted Holmes' changes, they should be on the iphone branch
author Sam Lantinga <slouken@libsdl.org>
date Sat, 05 Jul 2008 16:15:44 +0000
parents 0f62c4ae1cd5
children 204be4fc2726
line wrap: on
line diff
--- a/include/SDL_platform.h	Sun Jun 22 23:13:02 2008 +0000
+++ b/include/SDL_platform.h	Sat Jul 05 16:15:44 2008 +0000
@@ -57,19 +57,13 @@
 #undef __LINUX__
 #define __LINUX__	1
 #endif
-
 #if defined(__APPLE__)
-#include "targetconditionals.h"
-#if TARGET_OS_IPHONE
-#undef __IPHONEOS__
-#define __IPHONEOS__ 1
-#undef __MACOSX__
-#else
 #undef __MACOSX__
 #define __MACOSX__	1
-#endif
+#elif defined(macintosh)
+#undef __MACOS__
+#define __MACOS__	1
 #endif
-
 #if defined(__NetBSD__)
 #undef __NETBSD__
 #define __NETBSD__	1