summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-19 09:20:46 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-19 12:33:41 (GMT)
commit32444b8b7cff886e79579891a82bf70aab6f207a (patch)
treef9d6f6f08ae766183ba29a06115142019d6213a0 /Swiften/Base
parent8ec81c322186e7ac0f053061ee61d5e371417efb (diff)
downloadswift-contrib-32444b8b7cff886e79579891a82bf70aab6f207a.zip
swift-contrib-32444b8b7cff886e79579891a82bf70aab6f207a.tar.bz2
Fixed OS X ProxyProvider compilation.
Diffstat (limited to 'Swiften/Base')
-rw-r--r--Swiften/Base/Platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Base/Platform.h b/Swiften/Base/Platform.h
index 6cdb667..395747c 100644
--- a/Swiften/Base/Platform.h
+++ b/Swiften/Base/Platform.h
@@ -25,6 +25,10 @@
#define SWIFTEN_PLATFORM_BEOS
#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
#define SWIFTEN_PLATFORM_MACOSX
+#include <TargetConditionals.h>
+# if defined(TARGET_OS_IPHONE)
+# define SWIFTEN_PLATFORM_IPHONE
+# endif
#elif defined(__IBMCPP__) || defined(_AIX)
#define SWIFTEN_PLATFORM_AIX
#elif defined(__amigaos__)