Win32: move main macro to a function
commit424f212609145e6298c783b32fbba09f59f04406
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 29 May 2012 02:18:51 +0000 (28 21:18 -0500)
tree9ed1124f8d540b6fabc90884b09a31466606e98e
parent6533db01209e297ea390d3e76c53db5708b98bc8
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