Win32: move main macro to a function
commit2e087b0de9a9f7e1fe9877df343d4389e4fe994a
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 30 Mar 2012 18:42:38 +0000 (30 13:42 -0500)
tree0f5f21cddf5a698fbb2ff905faeee95f7cb0b567
parent8cfded7885aad01379fc594b5173dd735ffe098d
Win32: move main macro to a function

The code in the MinGW main macro is getting more and more complex, move to
a separate initialization function for readabiliy and extensibility.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
compat/mingw.c
compat/mingw.h