summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/DynamicLibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/DynamicLibrary.cpp')
-rw-r--r--cpp/src/Ice/DynamicLibrary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/DynamicLibrary.cpp b/cpp/src/Ice/DynamicLibrary.cpp
index d70e14bd74a..00bfb97131e 100644
--- a/cpp/src/Ice/DynamicLibrary.cpp
+++ b/cpp/src/Ice/DynamicLibrary.cpp
@@ -133,7 +133,7 @@ IceInternal::DynamicLibrary::loadEntryPoint(const string& entryPoint, bool useIc
#ifdef _WIN32
lib += libName;
lib += version;
-# ifdef ICE_OS_WINRT
+# ifdef ICE_OS_UWP
lib += "uwp";
# endif
@@ -217,7 +217,7 @@ IceInternal::DynamicLibrary::load(const string& lib)
// Don't need to use a wide string converter as the wide string is passed
// to Windows API.
//
-#ifdef ICE_OS_WINRT
+#ifdef ICE_OS_UWP
_hnd = LoadPackagedLibrary(stringToWstring(lib, getProcessStringConverter()).c_str(), 0);
#elif defined(_WIN32)
_hnd = LoadLibraryW(stringToWstring(lib, getProcessStringConverter()).c_str());