From ab88cc202fcfd78088338c378d2f02515838331e Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 25 Mar 2016 22:30:54 +0100 Subject: Bug 1257224: Windows-specific modules are missing in Makefile.PL r=dylan --- Bugzilla/Constants.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Constants.pm') diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 6e8a469c5..80bf255df 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -524,7 +524,7 @@ use constant DB_MODULE => { }; # True if we're on Win32. -use constant ON_WINDOWS => ($^O =~ /MSWin32/i) ? 1 : 0; +use constant ON_WINDOWS => $^O eq 'MSWin32' ? 1 : 0; # True if we're using ActiveState Perl (as opposed to Strawberry) on Windows. use constant ON_ACTIVESTATE => eval { &Win32::BuildNumber }; -- cgit v1.2.3-24-g4f1b