]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
perl: align order and completeness of Windows OS checks
authorMarc Hoersken <info@marc-hoersken.de>
Fri, 6 Mar 2020 10:13:57 +0000 (11:13 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Sat, 7 Mar 2020 10:02:43 +0000 (11:02 +0100)
lib/checksrc.pl
tests/testcurl.pl

index 8343645610003f55936128cc7c455c8add9b736e..e1bb1a633943c608edb173d194437ace33d5499c 100755 (executable)
@@ -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;
 
index 69722fb36030c552dc9676484b32be6fe4d2f4ce..fce53571ad790d4e9b4d0014826f86a2cbd5585a 100755 (executable)
@@ -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/)) {