summaryrefslogtreecommitdiff
path: root/t/pragma/locale.t
diff options
context:
space:
mode:
Diffstat (limited to 't/pragma/locale.t')
-rwxr-xr-xt/pragma/locale.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/pragma/locale.t b/t/pragma/locale.t
index 0926a6ec39..e58616cbef 100755
--- a/t/pragma/locale.t
+++ b/t/pragma/locale.t
@@ -43,7 +43,7 @@ eval {
# Visual C's CRT goes silly on strings of the form "en_US.ISO8859-1"
# and mingw32 uses said silly CRT
-$have_setlocale = 0 if $^O eq 'MSWin32' && $Config{cc} =~ /^(cl|gcc)/i;
+$have_setlocale = 0 if (($^O eq 'MSWin32' || $^O eq 'NetWare') && $Config{cc} =~ /^(cl|gcc)/i);
my $last = $have_setlocale ? &last : &last_without_setlocale;