1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-01 03:22:48 -05:00

Add a new COMPAT option for environments lacking SecureZeroMemory(),

rather than explicitly checking for Winelib.  It seems that w32api is
lacking it as well.

[originally from svn r9669]
This commit is contained in:
Ben Harris
2012-09-18 23:05:29 +00:00
parent bc8f2193f6
commit 580103fca2
4 changed files with 8 additions and 3 deletions

View File

@ -453,7 +453,7 @@ if (defined $makefiles{'cygwin'}) {
"# RCINC = --include-dir c:\\cygwin\\include\\\n".
"\n".
&splitline("CFLAGS = -mno-cygwin -Wall -O2 -D_WINDOWS -DDEBUG -DWIN32S_COMPAT".
" -D_NO_OLDNAMES -DNO_MULTIMON -DNO_HTMLHELP " .
" -D_NO_OLDNAMES -DNO_MULTIMON -DNO_HTMLHELP -DNO_SECUREZEROMEMORY " .
(join " ", map {"-I$dirpfx$_"} @srcdirs)) .
"\n".
"LDFLAGS = -mno-cygwin -s\n".