mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 09:27:59 +00:00
Enable __USE_MINGW_ANSI_STDIO for MinGW builds.
testcrypt.exe uses %zu formatting which is not enabled by default in MinGW environment, therefore we have to enable it manually.
This commit is contained in:
parent
80f2f6e7af
commit
a3e63c7079
@ -628,7 +628,7 @@ if (defined $makefiles{'cygwin'}) {
|
||||
"# RCINC = --include-dir c:\\cygwin\\include\\\n".
|
||||
"\n".
|
||||
&splitline("CFLAGS = -Wall -O2 -std=gnu99 -Wvla -D_WINDOWS -DDEBUG".
|
||||
" -DWIN32S_COMPAT -D_NO_OLDNAMES " .
|
||||
" -DWIN32S_COMPAT -D_NO_OLDNAMES -D__USE_MINGW_ANSI_STDIO=1 " .
|
||||
(join " ", map {"-I$dirpfx$_"} @srcdirs)) .
|
||||
"\n".
|
||||
"LDFLAGS = -s\n".
|
||||
|
Loading…
Reference in New Issue
Block a user