Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
2706:ce3ddf8dd6d2 | 2707:6259afb046c5 |
---|---|
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 | |
61 #if defined(__APPLE__) | 60 #if defined(__APPLE__) |
62 #include "targetconditionals.h" | |
63 #if TARGET_OS_IPHONE | |
64 #undef __IPHONEOS__ | |
65 #define __IPHONEOS__ 1 | |
66 #undef __MACOSX__ | |
67 #else | |
68 #undef __MACOSX__ | 61 #undef __MACOSX__ |
69 #define __MACOSX__ 1 | 62 #define __MACOSX__ 1 |
63 #elif defined(macintosh) | |
64 #undef __MACOS__ | |
65 #define __MACOS__ 1 | |
70 #endif | 66 #endif |
71 #endif | |
72 | |
73 #if defined(__NetBSD__) | 67 #if defined(__NetBSD__) |
74 #undef __NETBSD__ | 68 #undef __NETBSD__ |
75 #define __NETBSD__ 1 | 69 #define __NETBSD__ 1 |
76 #endif | 70 #endif |
77 #if defined(__OpenBSD__) | 71 #if defined(__OpenBSD__) |