Win32: move main macro to a function
commita3329a070bfda256a60a6d44f8e94367e30bd9c5
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 31 Oct 2011 16:47:57 +0000 (31 11:47 -0500)
tree5d4a13c1243efdfb6cb300c72d0d181ed616669f
parent4afc7dcc59b5c7c8ce52bf66d8c234d3535bdab4
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