diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-12-04 14:16:28 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-12-04 14:16:28 -0330 |
commit | 1959876612cdb5c725410a54d9fa14a300c53bf6 (patch) | |
tree | 93d04b6ff2af58c79a42b89aa32bd5dfd3f1be41 /cpp/test/Freeze/fileLock/ClientFail.cpp | |
parent | Bug 4299 - missing READMEs (diff) | |
download | ice-1959876612cdb5c725410a54d9fa14a300c53bf6.tar.bz2 ice-1959876612cdb5c725410a54d9fa14a300c53bf6.tar.xz ice-1959876612cdb5c725410a54d9fa14a300c53bf6.zip |
Fixed windows compile errors
Diffstat (limited to 'cpp/test/Freeze/fileLock/ClientFail.cpp')
-rw-r--r-- | cpp/test/Freeze/fileLock/ClientFail.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cpp/test/Freeze/fileLock/ClientFail.cpp b/cpp/test/Freeze/fileLock/ClientFail.cpp index caeefff91f6..6e7e494059c 100644 --- a/cpp/test/Freeze/fileLock/ClientFail.cpp +++ b/cpp/test/Freeze/fileLock/ClientFail.cpp @@ -15,17 +15,8 @@ using namespace std; using namespace Ice; using namespace Freeze; -//COMPILERFIX: Borland C++ 2010 doesn't support wmain for console applications. -#if defined(_WIN32) && !defined(__BCPLUSPLUS__) -int -wmain(int argc, wchar_t* argv[]) - -#else - int main(int argc, char* argv[]) - -#endif { int status = EXIT_SUCCESS; Ice::CommunicatorPtr communicator; @@ -35,11 +26,7 @@ main(int argc, char* argv[]) communicator = Ice::initialize(argc, argv); if(argc != 1) { -#if defined(_WIN32) && !defined(__BCPLUSPLUS__) - envName = IceUtil::wstringToString(argv[1]); -#else envName = argv[1]; -#endif envName += "/db"; } |