comparison include/SDL_platform.h @ 2705:0f62c4ae1cd5

Added iPhone OS (__IPHONEOS__) as a platform
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Sun, 22 Jun 2008 23:12:02 +0000
parents c9aa6bcb26f3
children 6259afb046c5
comparison
equal deleted inserted replaced
2704:e708fe246d03 2705:0f62c4ae1cd5
55 #endif 55 #endif
56 #if defined(linux) || defined(__linux) || defined(__linux__) 56 #if defined(linux) || defined(__linux) || defined(__linux__)
57 #undef __LINUX__ 57 #undef __LINUX__
58 #define __LINUX__ 1 58 #define __LINUX__ 1
59 #endif 59 #endif
60
60 #if defined(__APPLE__) 61 #if defined(__APPLE__)
62 #include "targetconditionals.h"
63 #if TARGET_OS_IPHONE
64 #undef __IPHONEOS__
65 #define __IPHONEOS__ 1
66 #undef __MACOSX__
67 #else
61 #undef __MACOSX__ 68 #undef __MACOSX__
62 #define __MACOSX__ 1 69 #define __MACOSX__ 1
63 #elif defined(macintosh)
64 #undef __MACOS__
65 #define __MACOS__ 1
66 #endif 70 #endif
71 #endif
72
67 #if defined(__NetBSD__) 73 #if defined(__NetBSD__)
68 #undef __NETBSD__ 74 #undef __NETBSD__
69 #define __NETBSD__ 1 75 #define __NETBSD__ 1
70 #endif 76 #endif
71 #if defined(__OpenBSD__) 77 #if defined(__OpenBSD__)