summaryrefslogtreecommitdiff
path: root/cpp/test/IceGrid/deployer/Server.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-08-08 18:52:08 +0200
committerJose <jose@zeroc.com>2012-08-08 18:52:08 +0200
commit0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545 (patch)
tree8067c6695cc5e9672582a904409846e38ffba593 /cpp/test/IceGrid/deployer/Server.cpp
parentFixed python & ruby compilation error caused by OutputStream::format removal (diff)
downloadice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.tar.bz2
ice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.tar.xz
ice-0dd3bcb062c3aaf9ffb8ca56b58c13d5dc714545.zip
remove VC6 support
Diffstat (limited to 'cpp/test/IceGrid/deployer/Server.cpp')
-rw-r--r--cpp/test/IceGrid/deployer/Server.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/cpp/test/IceGrid/deployer/Server.cpp b/cpp/test/IceGrid/deployer/Server.cpp
index 6bdfe03bb4a..0031b16770d 100644
--- a/cpp/test/IceGrid/deployer/Server.cpp
+++ b/cpp/test/IceGrid/deployer/Server.cpp
@@ -79,12 +79,6 @@ main(int argc, char* argv[])
}
#if defined(_WIN32)
-
- //
- // COMPILERFIX: Unicode environments don't work well with VC6 applications,
- // for some reasons, the wstring returned by _wgetenv are incorrect.
- //
-#if (!defined(_MSC_VER) || _MSC_VER >= 1300)
wchar_t* value2 = _wgetenv(L"MY_ENV_UNICODE_VARIABLE");
test(value2 != 0 && wstring(value2) == IceUtil::stringToWstring(unicodeVar));
@@ -94,7 +88,6 @@ main(int argc, char* argv[])
// Environment variables are case insensitive on Windows.
wchar_t* value4 = _wgetenv(IceUtil::stringToWstring(varname1).c_str());
test(value4 != 0 && wstring(value4) == L"2");
-#endif
char* value5 = getenv("MY_WINDOWS_COMPOSED_VARIABLE");
test(value5 != 0 && string(value5) == "BAR;12");