summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-05 13:06:53 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-05 13:06:53 +0000
commit6f2bd2490575d366d464eccd9039ee1e86088e7f (patch)
tree091cb066005dd479b9741718db0f8b0f7c8e5b4e /perlio.h
parentb4d12dfd173e86bc7594a463d3d9b06d94ae825c (diff)
downloadperl-6f2bd2490575d366d464eccd9039ee1e86088e7f.tar.gz
POSIX-BC tweaks from Thomas Dorner.
p4raw-id: //depot/perl@11160
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/perlio.h b/perlio.h
index 78bd06ab05..e510929d56 100644
--- a/perlio.h
+++ b/perlio.h
@@ -62,6 +62,11 @@
#define fseek fseeko
#endif
+/* BS2000 includes are sometimes a bit non standard :-( */
+#if defined(POSIX_BC) && defined(O_BINARY) && !defined(O_TEXT)
+#undef O_BINARY
+#endif
+
#ifdef PERLIO_IS_STDIO
/* #define PerlIO_xxxx() as equivalent stdio function */
#include "perlsdio.h"