Win32: move main macro to a function
commit1eccee6ac4272bc65d4fedfc2ceb670faeb85766
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Fri, 6 Apr 2012 21:47:20 +0000 (6 16:47 -0500)
treeb5baec4f58ddffb3bca3104dbea254094c4726e1
parent24b70052230acd751d9d966024535aaacf331a88
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