summaryrefslogtreecommitdiff
path: root/t/pragma
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-04-17 02:13:58 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-04-17 02:13:58 +0000
commit6dead956033b9cd9214b9fa427a6432180c1bcd5 (patch)
tree50a3a750651128502a6cb7a6da29cd81283238eb /t/pragma
parent8c9208bc5764dada175aceff9d0b1938978d7db6 (diff)
downloadperl-6dead956033b9cd9214b9fa427a6432180c1bcd5.tar.gz
[win32] support POSIX, enable more locale tests
p4raw-id: //depot/win32/perl@889
Diffstat (limited to 't/pragma')
-rwxr-xr-xt/pragma/locale.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/pragma/locale.t b/t/pragma/locale.t
index 8875f7caa6..bd5267d720 100755
--- a/t/pragma/locale.t
+++ b/t/pragma/locale.t
@@ -19,6 +19,9 @@ eval {
$have_setlocale++;
};
+# Visual C's CRT goes silly on strings of the form "en_US.ISO8859-1"
+$have_setlocale = 0 if $^O eq 'MSWin32' && $Config{cc} =~ /^cl/i;
+
print "1..", ($have_setlocale ? 102 : 98), "\n";
use vars qw($a