summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-19 16:47:01 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-26 18:38:51 (GMT)
commit37de16e21bf73d1dea16343f04d061d3cb389acf (patch)
tree2a618ae3ca054af895f1b515fe58825de938d3fe /SwifTools/Idle
parent37567ebaa72cfc26e6cf49179eb988594c488c4b (diff)
downloadswift-37de16e21bf73d1dea16343f04d061d3cb389acf.zip
swift-37de16e21bf73d1dea16343f04d061d3cb389acf.tar.bz2
Added CertificateMemoryStorage.
Diffstat (limited to 'SwifTools/Idle')
-rw-r--r--SwifTools/Idle/PlatformIdleQuerier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/SwifTools/Idle/PlatformIdleQuerier.cpp b/SwifTools/Idle/PlatformIdleQuerier.cpp
index a28e701..6735348 100644
--- a/SwifTools/Idle/PlatformIdleQuerier.cpp
+++ b/SwifTools/Idle/PlatformIdleQuerier.cpp
@@ -7,7 +7,7 @@
#include "SwifTools/Idle/PlatformIdleQuerier.h"
#include "Swiften/Base/Platform.h"
-#if defined(SWIFTEN_PLATFORM_MACOSX) && defined(HAVE_IOKIT)
+#if defined(SWIFTEN_PLATFORM_MACOSX) && defined(HAVE_IOKIT) && !defined(SWIFTEN_PLATFORM_IPHONE)
#include "SwifTools/Idle/MacOSXIdleQuerier.h"
#elif defined(SWIFTEN_PLATFORM_WINDOWS)
#include "SwifTools/Idle/WindowsIdleQuerier.h"
@@ -23,7 +23,7 @@ namespace Swift {
PlatformIdleQuerier::PlatformIdleQuerier() : querier(NULL) {
#if defined(SWIFTEN_PLATFORM_MACOSX)
-#if defined(HAVE_IOKIT)
+#if defined(HAVE_IOKIT) && !defined(SWIFTEN_PLATFORM_IPHONE)
querier = new MacOSXIdleQuerier();
#else
querier = new DummyIdleQuerier();