diff options
Diffstat (limited to 'util/pl/VC-32.pl')
-rw-r--r-- | util/pl/VC-32.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl index 936e0319bd..7932cb005a 100644 --- a/util/pl/VC-32.pl +++ b/util/pl/VC-32.pl @@ -26,6 +26,7 @@ if ($FLAVOR =~ /WIN64/) # considered safe to ignore. # $base_cflags=' /W3 /Gs0 /GF /Gy /nologo -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DOPENSSL_SYSNAME_WIN32 -DOPENSSL_SYSNAME_WINNT -DUNICODE -D_UNICODE'; + $base_cflags.='-D_CRT_SECURE_NO_DEPRECATE'; # shut up VC8 $opt_cflags=' /MD /Ox'; $dbg_cflags=' /MDd /Od -DDEBUG -D_DEBUG'; $lflags="/nologo /subsystem:console /opt:ref"; @@ -87,6 +88,7 @@ elsif ($FLAVOR =~ /CE/) else # Win32 { $base_cflags=' /W3 /WX /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32'; + $base_cflags.='-D_CRT_SECURE_NO_DEPRECATE'; # shut up VC8 $opt_cflags=' /MD /Ox /O2 /Ob2'; $dbg_cflags=' /MDd /Od -DDEBUG -D_DEBUG'; $lflags="/nologo /subsystem:console /machine:I386 /opt:ref"; |