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/)) {