summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Service.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2014-06-12 17:30:13 -0400
committerBernard Normier <bernard@zeroc.com>2014-06-12 17:30:13 -0400
commitc648be7bef08894eb7dc99463eff1c03fc228a2d (patch)
tree6cd3ae427f107823dfeb95d9fa263bb32018f946 /cpp/src/Ice/Service.cpp
parentFix ICE-5549: Added write(const char*, bool) to BasicStream (diff)
downloadice-c648be7bef08894eb7dc99463eff1c03fc228a2d.tar.bz2
ice-c648be7bef08894eb7dc99463eff1c03fc228a2d.tar.xz
ice-c648be7bef08894eb7dc99463eff1c03fc228a2d.zip
Windows deprecation fixes
Diffstat (limited to 'cpp/src/Ice/Service.cpp')
-rw-r--r--cpp/src/Ice/Service.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/cpp/src/Ice/Service.cpp b/cpp/src/Ice/Service.cpp
index c775c1c6e5f..4fca9da3e36 100644
--- a/cpp/src/Ice/Service.cpp
+++ b/cpp/src/Ice/Service.cpp
@@ -7,7 +7,6 @@
//
// **********************************************************************
-#include <IceUtil/DisableWarnings.h>
#include <IceUtil/CtrlCHandler.h>
#include <IceUtil/StringUtil.h>
#include <IceUtil/Thread.h>
@@ -788,17 +787,7 @@ Ice::Service::name() const
bool
Ice::Service::checkSystem() const
{
-#ifdef _WIN32
- //
- // Check Windows version.
- //
- OSVERSIONINFO ver;
- ver.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
- GetVersionEx(&ver);
- return (ver.dwPlatformId == VER_PLATFORM_WIN32_NT);
-#else
return true;
-#endif
}
#ifdef _WIN32