]> Git Repo - qemu.git/blobdiff - qemu-os-win32.h
hw/qxl: fix condition for exiting guest_bug
[qemu.git] / qemu-os-win32.h
index b3e451b71932081828510188009908d0a6e5aa7b..8ba466dbfbc11e6775441e91cd32008a7178cc17 100644 (file)
 /* Declaration of ffs() is missing in MinGW's strings.h. */
 int ffs(int i);
 
+/* Missing POSIX functions. Don't use MinGW-w64 macros. */
+#undef gmtime_r
+struct tm *gmtime_r(const time_t *timep, struct tm *result);
+#undef localtime_r
+struct tm *localtime_r(const time_t *timep, struct tm *result);
+
 static inline void os_setup_signal_handling(void) {}
 static inline void os_daemonize(void) {}
 static inline void os_setup_post(void) {}
This page took 0.02407 seconds and 4 git commands to generate.