summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/Util.cpp')
-rwxr-xr-xcpp/src/IceSSL/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp
index e5832d8487a..294640565a5 100755
--- a/cpp/src/IceSSL/Util.cpp
+++ b/cpp/src/IceSSL/Util.cpp
@@ -134,7 +134,7 @@ IceSSL::readFile(const string& file, vector<char>& buffer)
bool
IceSSL::checkPath(const string& path, const string& defaultDir, bool dir, string& resolved)
{
-#if defined(ICE_USE_SECURE_TRANSPORT_IOS)
+#if defined(ICE_USE_SECURE_TRANSPORT_IOS) || defined(ICE_SWIFT)
CFBundleRef bundle = CFBundleGetMainBundle();
if(bundle)
{