summaryrefslogtreecommitdiff
path: root/cpp/test/Common/TestHelper.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-06-04 19:51:33 +0200
committerJose <jose@zeroc.com>2018-06-04 19:51:33 +0200
commit3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06 (patch)
treecaf958b1eb41e5157f5851b3570eba579aeaef35 /cpp/test/Common/TestHelper.cpp
parentRegister IceWS plug-in with IceSSL/configuration static builds (diff)
downloadice-3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06.tar.bz2
ice-3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06.tar.xz
ice-3740535ad40f2c2526d43fdb43bcfc5fbfe9eb06.zip
Fix TestHelper unused variable with iOS build
Diffstat (limited to 'cpp/test/Common/TestHelper.cpp')
-rw-r--r--cpp/test/Common/TestHelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Common/TestHelper.cpp b/cpp/test/Common/TestHelper.cpp
index ef2f0e897b8..765686bdcc4 100644
--- a/cpp/test/Common/TestHelper.cpp
+++ b/cpp/test/Common/TestHelper.cpp
@@ -10,8 +10,8 @@ namespace
{
IceUtil::Mutex* globalMutex = 0;
+#if !defined(ICE_OS_UWP) && (!defined(__APPLE__) || TARGET_OS_IPHONE == 0)
Test::TestHelper* instance = 0;
-#ifndef ICE_OS_UWP
IceUtil::CtrlCHandler* ctrlCHandler = 0;
#endif
@@ -28,7 +28,7 @@ public:
{
delete globalMutex;
globalMutex = 0;
-#ifndef ICE_OS_UWP
+#if !defined(ICE_OS_UWP) && (!defined(__APPLE__) || TARGET_OS_IPHONE == 0)
if(ctrlCHandler)
{
delete ctrlCHandler;