add -D_CRT_SECURE_NO_DEPRECATE if win32
This commit is contained in:
parent
2893440374
commit
581143f74c
|
@ -70,7 +70,7 @@ sub flags {
|
||||||
if ($os =~ /(win32)/) {
|
if ($os =~ /(win32)/) {
|
||||||
$os = $1;
|
$os = $1;
|
||||||
$is_win32 = 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);
|
@libs = qw(kernel32 user32 advapi32 ws2_32 netapi32 shell32 pdh version comsupp wbemuuid);
|
||||||
}
|
}
|
||||||
elsif ($os =~ /(linux)/) {
|
elsif ($os =~ /(linux)/) {
|
||||||
|
|
Loading…
Reference in New Issue