Win32: move main macro to a function
commit7908621b8538c74c329873e41b0335636c9ad26e
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 3 May 2012 15:40:13 +0000 (3 10:40 -0500)
tree4df310232ec79dfdf58a78b58a9933bf57f78b88
parentf452c0c1ae5bfe4a15910373079013fbbecae129
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