Win32: move main macro to a function
commitcbc3c945c5e8c162b2993bd41702f5c705d5fcce
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Tue, 5 Jun 2012 18:44:18 +0000 (5 13:44 -0500)
treebc39ccaa580ee63f8008f1bbf40bb6252f8b171b
parentb2097a32e228629cf64bff78b2a84177f2e94753
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