diff options
Diffstat (limited to 'cpp/src/IceStorm/Admin.cpp')
-rw-r--r-- | cpp/src/IceStorm/Admin.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cpp/src/IceStorm/Admin.cpp b/cpp/src/IceStorm/Admin.cpp index 71a483796c4..63413847079 100644 --- a/cpp/src/IceStorm/Admin.cpp +++ b/cpp/src/IceStorm/Admin.cpp @@ -13,8 +13,6 @@ #include <Ice/SliceChecksums.h> #include <IceStorm/Parser.h> -#include <fstream> - using namespace std; using namespace Ice; using namespace IceStorm; @@ -27,8 +25,18 @@ public: virtual int run(int, char*[]); }; +//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 { Client app; int rc = app.main(argc, argv); |