Win32: move main macro to a function
commit0115ef8392d326e6212377aab972cd8fdcb0e9b2
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Thu, 5 Dec 2013 23:19:16 +0000 (5 23:19 +0000)
tree2cb80b261f4b2e2b97172c965872267d03727b6f
parent77cd48343866fdc1208f4c8257af3bf12d2f3052
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