diff options
-rwxr-xr-x | cpp/config/Make.rules.msvc | 4 | ||||
-rw-r--r-- | cpp/src/Ice/ConnectionI.cpp | 4 | ||||
-rw-r--r-- | cpp/test/Ice/binding/AllTests.cpp | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/cpp/config/Make.rules.msvc b/cpp/config/Make.rules.msvc index 04e765baa7a..afda1337699 100755 --- a/cpp/config/Make.rules.msvc +++ b/cpp/config/Make.rules.msvc @@ -47,18 +47,18 @@ CPPFLAGS = $(CPPFLAGS) -MP !if "$(OPTIMIZE)" == "yes" CPPFLAGS = $(CPPFLAGS) -O2 -DNDEBUG -MD +CONFIG = Retail !if "$(RELEASEPDBS)" == "yes" CPPFLAGS = $(CPPFLAGS) -Zi -Oy- !endif -ARFLAGS = $(ARFLAGS) /LTCG -CONFIG = Retail !else CPPFLAGS = $(CPPFLAGS) -Zi -Od -D_DEBUG -MDd -RTC1 CONFIG = Debug + !endif !if "$(STATICLIBS)" == "yes" diff --git a/cpp/src/Ice/ConnectionI.cpp b/cpp/src/Ice/ConnectionI.cpp index 4e841872103..ca0be9dc19d 100644 --- a/cpp/src/Ice/ConnectionI.cpp +++ b/cpp/src/Ice/ConnectionI.cpp @@ -25,7 +25,9 @@ #include <Ice/LocalException.h> #include <Ice/ReferenceFactory.h> // For createProxy(). #include <Ice/ProxyFactory.h> // For createProxy(). -#include <bzlib.h> +#ifndef ICE_OS_WINRT +# include <bzlib.h> +#endif using namespace std; using namespace Ice; diff --git a/cpp/test/Ice/binding/AllTests.cpp b/cpp/test/Ice/binding/AllTests.cpp index 52af48ab5ec..2e98bcb7bed 100644 --- a/cpp/test/Ice/binding/AllTests.cpp +++ b/cpp/test/Ice/binding/AllTests.cpp @@ -846,7 +846,7 @@ allTests(const Ice::CommunicatorPtr& communicator) serverProps.push_back(localipv4); serverProps.push_back(localipv6); -#ifdef _WIN32 +#if defined(_WIN32) && !defined(ICE_OS_WINRT) OSVERSIONINFO ver; ver.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&ver); |