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
commit4804698df23ab9bb884327f879909cb15925bda5 (patch)
treeca8f074393935606a0efb5955940f933f4f8e152 /perlio.c
parentcd8c9bf8e75f7ca1681db747e53988762aec8fa2 (diff)
downloadperl-4804698df23ab9bb884327f879909cb15925bda5.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
*/