aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-03-06 11:13:57 +0100
committerMarc Hoersken <info@marc-hoersken.de>2020-03-07 11:02:43 +0100
commit99c688ba215aeee10a65b998a6f15e984e100ff8 (patch)
tree92f6e1d3799e8eea7bc9d17b8ed22d3eb0e76214
parentc0780e4a92ae02592efc37bba953737c933d1c67 (diff)
perl: align order and completeness of Windows OS checks
-rwxr-xr-xlib/checksrc.pl2
-rwxr-xr-xtests/testcurl.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/checksrc.pl b/lib/checksrc.pl
index 834364561..e1bb1a633 100755
--- a/lib/checksrc.pl
+++ b/lib/checksrc.pl
@@ -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;
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index 69722fb36..fce53571a 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -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/)) {