summaryrefslogtreecommitdiff
path: root/perliol.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-11 14:33:14 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-11 14:33:14 +0000
commit6ce75a778d390cfc1b903c40f2566d0e560efcd8 (patch)
tree852095faac15bf2d497b71c3f3e0f8056eb91709 /perliol.h
parentd2492938eb072e03ead75c841f11237d3b984c72 (diff)
downloadperl-6ce75a778d390cfc1b903c40f2566d0e560efcd8.tar.gz
Try to handle platforms that have O_TEXT != O_BINARY but
which are not DOSish, BeOS being one of such platforms. Ideally this should be a Configure test, not a hardwired cpp symbol test... p4raw-id: //depot/perl@13621
Diffstat (limited to 'perliol.h')
-rw-r--r--perliol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perliol.h b/perliol.h
index d133061fbd..4be2fbfcda 100644
--- a/perliol.h
+++ b/perliol.h
@@ -111,7 +111,7 @@ extern PerlIO *PerlIO_allocate(pTHX);
extern SV *PerlIO_arg_fetch(PerlIO_list_t *av, IV n);
#define PerlIOArg PerlIO_arg_fetch(layers,n)
-#if O_BINARY != O_TEXT
+#ifdef PERLIO_CRLF
#define PERLIO_STDTEXT "t"
#else
#define PERLIO_STDTEXT ""