diff options
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 32c74e920..12cbef3c4 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -515,7 +515,7 @@ use constant DB_MODULE => { }; # True if we're on Win32. -use constant ON_WINDOWS => ($^O =~ /MSWin32/i); +use constant ON_WINDOWS => ($^O =~ /MSWin32/i) ? 1 : 0; # True if we're using ActiveState Perl (as opposed to Strawberry) on Windows. use constant ON_ACTIVESTATE => eval { &Win32::BuildNumber }; |