Win32: move main macro to a function
commitb9ca64840100cb77ca6721a2834a1fe154cfd71d
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 20 May 2012 23:45:32 +0000 (20 17:45 -0600)
tree9ccb67f49132bd432d061523f116051f69dc01e3
parent70841548e96cde53b432bb5d627dd9f5e490c254
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