Win32: move main macro to a function
commitbf50209eec9806550469e0c260b788ac4271c6c5
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 14 Feb 2012 20:02:57 +0000 (14 14:02 -0600)
tree70da3f9c5af66492f08cce664b5dfbd210261a74
parent1d4f37e1ef16b7acdf58d00075cc947a9a8d0dca
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