Win32: move main macro to a function
commit6bbe47b555fee1f3531107b30d06c71471c43475
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 27 Oct 2011 08:52:34 +0000 (27 09:52 +0100)
treebc91f740d72085a5f1b54b45118a71066b94eb3b
parent29db0c9f17c5b64fb1a0651fdab32669e0effa83
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