diff options
author | Jose <jose@zeroc.com> | 2017-04-13 18:37:51 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2017-04-13 18:37:51 +0200 |
commit | d9777a0d1789c9c873f65865444e8c5ed5a9e5b1 (patch) | |
tree | 2d7016f83f24e925602c3e36b3138ea8cae290d4 /cpp/src/slice2rb/Main.cpp | |
parent | Update priority inversion test to no be CPU sensitive (diff) | |
download | ice-d9777a0d1789c9c873f65865444e8c5ed5a9e5b1.tar.bz2 ice-d9777a0d1789c9c873f65865444e8c5ed5a9e5b1.tar.xz ice-d9777a0d1789c9c873f65865444e8c5ed5a9e5b1.zip |
Add slice2rb/slice2objc compilers to Windows builds
Diffstat (limited to 'cpp/src/slice2rb/Main.cpp')
-rw-r--r-- | cpp/src/slice2rb/Main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/slice2rb/Main.cpp b/cpp/src/slice2rb/Main.cpp index 13b0fb69ec5..3a9d80b1bf7 100644 --- a/cpp/src/slice2rb/Main.cpp +++ b/cpp/src/slice2rb/Main.cpp @@ -16,8 +16,11 @@ using namespace Slice; using namespace Slice::Ruby; using namespace IceUtilInternal; -int -main(int argc, char* argv[]) +#ifdef _WIN32 +int wmain(int argc, wchar_t* argv[]) +#else +int main(int argc, char* argv[]) +#endif { vector<string> args = Slice::argvToArgs(argc, argv); try |