summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-04-24 11:57:35 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-04-24 11:57:35 +0000
commit2a877942f998b0a7672e3fbe1b38367b1f04f055 (patch)
treefef9fc3f0dc4c8a043aff47c09111b44bf55f7cc /ext
parent218659229ea7e7f2d98c1a7697e6218c585dfb37 (diff)
downloadperl-2a877942f998b0a7672e3fbe1b38367b1f04f055.tar.gz
(Retracted by #9812.)
p4raw-id: //depot/perl@9811
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/POSIX.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 39d6f40b68..312ecb2e51 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -3678,9 +3678,13 @@ tzset()
void
tzname()
PPCODE:
+#ifdef HAS_TZNAME
EXTEND(SP,2);
PUSHs(sv_2mortal(newSVpvn(tzname[0],strlen(tzname[0]))));
PUSHs(sv_2mortal(newSVpvn(tzname[1],strlen(tzname[1]))));
+#else
+ not_here("tzname");
+#endif
SysRet
access(filename, mode)