Win32: move main macro to a function
commit8d36fb6ea48f2e5957da5a2ae1009727f8955cc7
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:05:27 +0000 (15 18:05 +0100)
treece77a1f6ea515c0ff01bf0bf3d665f43fff03109
parentf2d696c02b4e029fb003bd889f3fe5098f2963f5
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