summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2000-03-06 09:36:13 -0600
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-06 21:46:18 +0000
commit3b7650f455a913091fc29541d18f107d4011e131 (patch)
tree9c575e4cc6b4135cd493ed4983f6905c6927e4e9 /vms
parent4a208d7164dc2a4fd872017cc0e9134037ebce1a (diff)
downloadperl-3b7650f455a913091fc29541d18f107d4011e131.tar.gz
circumvent VMS fileno bug in old DEC C version
To: vmsperl@perl.org, perl5-porters@perl.org Cc: jhi@iki.fi, Charles Bailey <BAILEY@newman.upenn.edu>, gsar@activestate.com Message-Id: <4.2.2.20000306153539.00ca6420@exchi01.midwest.metamorgs.com> p4raw-id: //depot/cfgperl@5588
Diffstat (limited to 'vms')
-rw-r--r--vms/vmsish.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/vms/vmsish.h b/vms/vmsish.h
index a09d2be438..34efcb6ed4 100644
--- a/vms/vmsish.h
+++ b/vms/vmsish.h
@@ -717,4 +717,9 @@ typedef char __VMS_SEPYTOTORP__;
#undef HAS_NTOHL
#endif
+/* The C RTL manual says to undef the macro for DEC C 5.2 and lower. */
+#if defined(fileno) && defined(__DECC_VER) && __DECC_VER < 50300000
+# undef fileno
+#endif
+
#endif /* __vmsish_h_included */