mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2025-02-07 13:03:08 +00:00
Fix MinGW64 problem with non-compliant vsnprintf.
makeint.h (__USE_MINGW_ANSI_STDIO) [__MINGW64_VERSION_MAJOR]: Define for MinGW64, to force it to use an ANSI-compliant implementation of vsnprintf. Reported by Christian Boos <cboos@edgewall.org>.
This commit is contained in:
parent
87e5b64f41
commit
d1d737d0fa
1 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,12 @@ char *alloca ();
|
||||||
#endif
|
#endif
|
||||||
#include "gnumake.h"
|
#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
|
#ifdef CRAY
|
||||||
/* This must happen before #include <signal.h> so
|
/* This must happen before #include <signal.h> so
|
||||||
that the declaration therein is changed. */
|
that the declaration therein is changed. */
|
||||||
|
|
Loading…
Reference in a new issue