diff --git a/qemu/include/qemu/osdep.h b/qemu/include/qemu/osdep.h index 021a4da2..166f84f0 100644 --- a/qemu/include/qemu/osdep.h +++ b/qemu/include/qemu/osdep.h @@ -72,16 +72,16 @@ typedef __float128 _Float128; #endif #endif +/* enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later) */ +#ifdef __MINGW32__ +#define __USE_MINGW_ANSI_STDIO 1 +#endif + #include #include #include "unicorn/platform.h" #include #include - -/* enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later) */ -#ifdef __MINGW32__ -#define __USE_MINGW_ANSI_STDIO 1 -#endif #include #ifndef _MSC_VER