Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Added iPhone OS (__IPHONEOS__) as a platform

  • Loading branch information
Holmes Futrell committed Jun 22, 2008
1 parent 6cf3ba5 commit c96fa55c39a00157593e4b343a350812adac5f48

File 1 of 1 in c96fa55

@@ -57,13 +57,19 @@
#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
#elif defined(macintosh)
#undef __MACOS__
#define __MACOS__ 1
#endif
#endif

#if defined(__NetBSD__)
#undef __NETBSD__
#define __NETBSD__ 1

0 comments on commit c96fa55

Please sign in to comment.