Win32: move main macro to a function
commit6612fdb7348a96dab20e2ffb8a477f117a9ae0f6
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 12 May 2012 04:25:49 +0000 (11 23:25 -0500)
tree5fc4d3c955224600b574ae12fe4d2f95ad026d0f
parent7082a115d3656a0e17038b6ee6061399389bc4b6
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