diff --git a/makeint.h b/makeint.h index 3e222961..15f2dd42 100644 --- a/makeint.h +++ b/makeint.h @@ -56,6 +56,12 @@ char *alloca (); #endif #include "gnumake.h" +/* Force MinGW64 to use a replacement for MS broken vsnprintf + implementation. */ +#ifdef __MINGW64_VERSION_MAJOR +# define __USE_MINGW_ANSI_STDIO 1 +#endif + #ifdef CRAY /* This must happen before #include so that the declaration therein is changed. */