Re: [Qemu-devel] [PATCH] win32: provide gmtime_r emulation

2012-09-11 Thread Stefan Weil
Am 11.09.2012 19:57, schrieb Paolo Bonzini: Il 11/09/2012 19:15, Stefan Weil ha scritto: latest MinGW-w64 supports _gmtime32_s, but MinGW does not, so this solution won't link with MinGW. Do we need to support anything but latest MinGW-w64? Paolo Good question. Pro: * For 64 bit support, w

Re: [Qemu-devel] [PATCH] win32: provide gmtime_r emulation

2012-09-11 Thread Paolo Bonzini
Il 11/09/2012 19:15, Stefan Weil ha scritto: > latest MinGW-w64 supports _gmtime32_s, but MinGW does not, > so this solution won't link with MinGW. Do we need to support anything but latest MinGW-w64? Paolo

Re: [Qemu-devel] [PATCH] win32: provide gmtime_r emulation

2012-09-11 Thread Stefan Weil
Am 11.09.2012 09:28, schrieb Paolo Bonzini: Windows has _s functions from C99 instead of _r functions from POSIX. Add an emulation shim. Signed-off-by: Paolo Bonzini --- Not tested beyond compilation. Hi Paolo, latest MinGW-w64 supports _gmtime32_s, but MinGW does not, so this solut

[Qemu-devel] [PATCH] win32: provide gmtime_r emulation

2012-09-11 Thread Paolo Bonzini
Windows has _s functions from C99 instead of _r functions from POSIX. Add an emulation shim. Signed-off-by: Paolo Bonzini --- Not tested beyond compilation. os-win32.c | 12 qemu-os-win32.h | 1 + 2 file modificati, 13 inserzioni(+) diff --git a/os-win32.c b/os-win32