Hi, On 4/29/19 2:33 AM, driver1998 wrote: > Signed-off-by: driver1998 <driver1...@foxmail.com>
Is driver1998 your real name? :) > --- > include/qemu/osdep.h | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h > index 303d315c5d..af2b91f0b8 100644 > --- a/include/qemu/osdep.h > +++ b/include/qemu/osdep.h > @@ -85,17 +85,17 @@ extern int daemon(int, int); > #endif > #endif > > +/* enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later) */ As the comment says, this definition is used by <stdio.h>. I suppose you encountered an issue with one of the following headers including it earlier, which is odd... Can you paste the error you are trying to fix? Thanks, Phil. > +#ifdef __MINGW32__ > +#define __USE_MINGW_ANSI_STDIO 1 > +#endif > + > #include <stdarg.h> > #include <stddef.h> > #include <stdbool.h> > #include <stdint.h> > #include <sys/types.h> > #include <stdlib.h> > - > -/* enable C99/POSIX format strings (needs mingw32-runtime 3.15 or later) */ > -#ifdef __MINGW32__ > -#define __USE_MINGW_ANSI_STDIO 1 > -#endif > #include <stdio.h> > > #include <string.h> >