add -D_CRT_SECURE_NO_DEPRECATE if win32

This commit is contained in:
Doug MacEachern 2009-11-18 13:26:52 -08:00
parent 2893440374
commit 581143f74c
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ sub flags {
if ($os =~ /(win32)/) {
$os = $1;
$is_win32 = 1;
@cppflags = ('-DWIN32');
@cppflags = ('-DWIN32', '-D_CRT_SECURE_NO_DEPRECATE');
@libs = qw(kernel32 user32 advapi32 ws2_32 netapi32 shell32 pdh version comsupp wbemuuid);
}
elsif ($os =~ /(linux)/) {