http://bugs.winehq.org/show_bug.cgi?id=27663
--- Comment #3 from Vincas Miliūnas vincas.miliunas@gmail.com 2011-07-01 08:10:34 CDT --- (In reply to comment #1)
You need stdarg.h before Windows headers. Your code is broken.
My goal was to remove unused include statements for compiling (using 64bit gcc), I was not aware that stdarg.h was an implicit dependency for windows include files on 32bit gcc. The recent submitted version has this fixed.