summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-29 13:12:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-29 13:12:41 +0000
commitbb8eb6e62d97b857129684472cfce975746a6229 (patch)
treeca8f074393935606a0efb5955940f933f4f8e152 /perlio.c
parent5ee411cdca2b6fc2cfde4827daa1c9618e1ec6a1 (diff)
downloadperl-bb8eb6e62d97b857129684472cfce975746a6229.tar.gz
BeOS tweaks:
- fseeko and ftello can be found by Configure but we do not seem to have prototypes for them so let's make up some - BeOS didn't use to have real sockets (sockets as filedescriptors) but the BONE package is supposed to fix this. I do not know how to detect BONEness, see hints/beos.sh for a spot that needs to fixed. - BeOS has O_TEXT != O_BINARY but has no setmode() p4raw-id: //depot/perl@12756
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 8b4ca81f9b..62f0d376b1 100644
--- a/perlio.c
+++ b/perlio.c
@@ -2867,7 +2867,7 @@ PerlIOBuf_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers,
if (f) {
PerlIO_push(aTHX_ f, self, mode, PerlIOArg);
fd = PerlIO_fileno(f);
-#if O_BINARY != O_TEXT
+#if (O_BINARY != O_TEXT) && !defined(__BEOS__)
/*
* do something about failing setmode()? --jhi
*/