]> git.tdb.fi Git - libs/core.git/commit
Add a main() function for Windows
authorMikko Rasa <tdb@tdb.fi>
Wed, 26 Dec 2018 22:38:04 +0000 (00:38 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 26 Dec 2018 22:38:04 +0000 (00:38 +0200)
commit0802c808fd55a508ca6f32a77bca3dae5424611b
tree3ea71fbe01eadcf5f89e95cbc80408c7db74b727
parentd28df82ca5c33fa4be0f6ce1ffee58b8e447e20c
Add a main() function for Windows

Console applications (at least those compiled with MinGW) use it as the
entry point.  MinGW has a support library to use WinMain as entry point,
but that requires a hack in builder that causes trouble with applications
that have a main() of their own.
source/core/windows/main.cpp