Win32: move main macro to a function
commit0afec8a9dcb20d94a89466f25554250a979d6271
authorKarsten Blees <blees@dcon.de>
Fri, 7 Jan 2011 18:47:23 +0000 (7 19:47 +0100)
committerKarsten Blees <blees@dcon.de>
Sat, 8 Jan 2011 16:30:16 +0000 (8 17:30 +0100)
treeda8914abccd6db03913780a3061a37706ca1e0d1
parenta30fe13254dcda0dfe0670c214ff30004f06477f
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>
compat/mingw.c
compat/mingw.h