summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-12-15 11:25:35 +0100
committerJose <jose@zeroc.com>2016-12-15 11:25:35 +0100
commitd9638ee3a81f0b47deb014b070e453de02cd925f (patch)
tree321aae7aa20d839637705dec7b100c422177d967 /cpp
parentWinRT -> UWP renames (diff)
downloadice-d9638ee3a81f0b47deb014b070e453de02cd925f.tar.bz2
ice-d9638ee3a81f0b47deb014b070e453de02cd925f.tar.xz
ice-d9638ee3a81f0b47deb014b070e453de02cd925f.zip
Remove Windows XP test workaround
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/Ice/binding/AllTests.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/cpp/test/Ice/binding/AllTests.cpp b/cpp/test/Ice/binding/AllTests.cpp
index 1ba9dec589b..34cf674a853 100644
--- a/cpp/test/Ice/binding/AllTests.cpp
+++ b/cpp/test/Ice/binding/AllTests.cpp
@@ -950,21 +950,6 @@ allTests(const Ice::CommunicatorPtr& communicator)
serverProps.push_back(localipv4);
serverProps.push_back(localipv6);
-#if defined(_WIN32) && !defined(ICE_OS_UWP)
- OSVERSIONINFO ver;
- ver.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
-# if defined(_MSC_VER) && _MSC_VER >= 1800
-# pragma warning (disable : 4996)
-# endif
- GetVersionEx(&ver);
-# if defined(_MSC_VER) && _MSC_VER >= 1800
-# pragma warning (default : 4996)
-# endif
- const bool dualStack = ver.dwMajorVersion >= 6; // Windows XP IPv6 doesn't support dual-stack
-#else
- const bool dualStack = true;
-#endif
-
bool ipv6NotSupported = false;
for(vector<Ice::PropertiesPtr>::const_iterator p = serverProps.begin(); p != serverProps.end(); ++p)
{
@@ -1036,7 +1021,6 @@ allTests(const Ice::CommunicatorPtr& communicator)
(*p == bothPreferIPv4 && *q == ipv6) || (*p == bothPreferIPv6 && *q == ipv4) ||
(*p == bothPreferIPv6 && *q == ipv6 && ipv6NotSupported) ||
(*p == anyipv4 && *q == ipv6) || (*p == anyipv6 && *q == ipv4) ||
- (*p == anyboth && *q == ipv4 && !dualStack) ||
(*p == localipv4 && *q == ipv6) || (*p == localipv6 && *q == ipv4) ||
(*p == ipv6 && *q == bothPreferIPv4) || (*p == ipv6 && *q == bothPreferIPv6) ||
(*p == bothPreferIPv6 && *q == ipv6));