summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index 1f84b0fe832..1d4b14f67ad 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -1453,6 +1453,7 @@ IceInternal::Instance::finishSetup(int& argc, const char* argv[], const Ice::Com
try
{
_endpointHostResolver = new EndpointHostResolver(this);
+#ifndef ICE_OS_UWP
bool hasPriority = _initData.properties->getProperty("Ice.ThreadPriority") != "";
int priority = _initData.properties->getPropertyAsInt("Ice.ThreadPriority");
if(hasPriority)
@@ -1463,6 +1464,7 @@ IceInternal::Instance::finishSetup(int& argc, const char* argv[], const Ice::Com
{
_endpointHostResolver->start();
}
+#endif
}
catch(const IceUtil::Exception& ex)
{