Commit 8a9bcd66 authored by Holmes Futrell's avatar Holmes Futrell

Added iPhone OS (__IPHONEOS__) as a platform

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402779
parent 5ef7f8e2
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment