diff options
author | Craig A. Berry <craigberry@mac.com> | 2000-03-06 09:36:13 -0600 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-03-06 21:46:18 +0000 |
commit | 3b7650f455a913091fc29541d18f107d4011e131 (patch) | |
tree | 9c575e4cc6b4135cd493ed4983f6905c6927e4e9 /vms | |
parent | 4a208d7164dc2a4fd872017cc0e9134037ebce1a (diff) | |
download | perl-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.h | 5 |
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 */ |