diff options
author | Jose <jose@zeroc.com> | 2012-07-19 18:26:38 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-07-19 18:26:38 +0200 |
commit | d0994b8115bc70f04b772d21365703a3a106587d (patch) | |
tree | 1bb72b16494ab7a14a48035e9bdac02dc82b0585 /cpp/test/IceUtil/unicode/Client.cpp | |
parent | ICE-4782 Generate "#pragma once" for include-guards in generated C++ header f... (diff) | |
download | ice-d0994b8115bc70f04b772d21365703a3a106587d.tar.bz2 ice-d0994b8115bc70f04b772d21365703a3a106587d.tar.xz ice-d0994b8115bc70f04b772d21365703a3a106587d.zip |
Remove BCC support
Diffstat (limited to 'cpp/test/IceUtil/unicode/Client.cpp')
-rw-r--r-- | cpp/test/IceUtil/unicode/Client.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/cpp/test/IceUtil/unicode/Client.cpp b/cpp/test/IceUtil/unicode/Client.cpp index 32425cc7454..3f703e0f7f2 100644 --- a/cpp/test/IceUtil/unicode/Client.cpp +++ b/cpp/test/IceUtil/unicode/Client.cpp @@ -23,8 +23,7 @@ using namespace std; // converts these BOMs back and forth. // -//COMPILERFIX: Borland C++ 2010 doesn't support wmain for console applications. -#if defined(_WIN32) && !defined(__BCPLUSPLUS__) +#ifdef _WIN32 int wmain(int argc, wchar_t* argv[]) @@ -41,12 +40,7 @@ main(int argc, char* argv[]) if(argc > 1) { #ifdef _WIN32 - -#ifdef __BCPLUSPLUS__ - dir = argv[1]; -#else dir = IceUtil::wstringToString(argv[1]); -#endif dir += "\\"; #else dir = argv[1]; @@ -179,7 +173,7 @@ main(int argc, char* argv[]) cout << "ok" << endl; } -#ifndef __BCPLUSPLUS__ + { cout << "testing UTF-8 filename... "; IceUtilInternal::ifstream fn(dir + "filename.txt"); @@ -251,6 +245,5 @@ main(int argc, char* argv[]) cout << "ok" << endl; } -#endif return EXIT_SUCCESS; } |