mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
perl: align order and completeness of Windows OS checks
This commit is contained in:
parent
c0780e4a92
commit
99c688ba21
@ -36,7 +36,7 @@ my $file;
|
||||
my $dir=".";
|
||||
my $wlist="";
|
||||
my @alist;
|
||||
my $windows_os = $^O eq 'MSWin32' || $^O eq 'msys' || $^O eq 'cygwin';
|
||||
my $windows_os = $^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'msys';
|
||||
my $verbose;
|
||||
my %whitelist;
|
||||
|
||||
|
@ -173,7 +173,7 @@ if ($^O eq 'MSWin32' || $targetos) {
|
||||
}
|
||||
}
|
||||
|
||||
if (($^O eq 'MSWin32' || $^O eq 'msys') &&
|
||||
if (($^O eq 'MSWin32' || $^O eq 'cygwin' || $^O eq 'msys') &&
|
||||
($targetos =~ /vc/ || $targetos =~ /mingw32/ ||
|
||||
$targetos =~ /borland/ || $targetos =~ /watcom/)) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user