On Fri, Jun 05, 2015 at 07:18:53PM +0200, Stefan Weil wrote:
The version provided by Debian Jessie (mingw-w64 3.2.0)
still uses macros to implement those functions - that's why
I don't see that compiler warnings.
I'd prefer a solution which conditionally includes the QEMU
declaration (include/sysemu/os-win32.h) and the implementation
(util/oslib-win32.c), either depending on the mingw-w64 version
or on the result of a configuration check done while running
configure.
Does that mean you want:
1. gmtime() is a macro - use QEMU implementation
2. gmtime() is a function - use mingw function