summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Base')
-rw-r--r--Swiften/Base/Platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Base/Platform.h b/Swiften/Base/Platform.h
index 395747c..a22f556 100644
--- a/Swiften/Base/Platform.h
+++ b/Swiften/Base/Platform.h
@@ -26,7 +26,7 @@
#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
#define SWIFTEN_PLATFORM_MACOSX
#include <TargetConditionals.h>
-# if defined(TARGET_OS_IPHONE)
+# if TARGET_OS_IPHONE == 1
# define SWIFTEN_PLATFORM_IPHONE
# endif
#elif defined(__IBMCPP__) || defined(_AIX)