projects
/
libs
/
core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Disable main() on win32 in favor of WinMain
[libs/core.git]
/
source
/
core
/
main.cpp
diff --git
a/source/core/main.cpp
b/source/core/main.cpp
index dc8122dd3031bb02bcb43d10694f48b2760958e4..fa28c1ffed271c2c6c03736d0bafcb71ad13841d 100644
(file)
--- a/
source/core/main.cpp
+++ b/
source/core/main.cpp
@@
-36,7
+36,10
@@
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPSTR /*l
delete[] argv_buf;
return exit_code;
}
-#endif
+#else
int main(int argc, char **argv)
-{ return Msp::Application::run(argc, argv); }
+{
+ return Msp::Application::run(argc, argv);
+}
+#endif