Win32: move main macro to a function
commit767a7a038e6f64b87c96538cc5ca482629efee17
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:30:12 +0000 (22 13:30 +0100)
tree92a37b8b13a984bf2c29e2410a2ade64b0aa71f2
parent73869631503523245b09e4aac5deedb59b5dd162
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