summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-01 23:40:10 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-01 23:40:10 +0000
commit73250e76b906d521a15f2d2c4ba0edef43d8a62b (patch)
tree8b57c540eddfc48c7e2ebde86c0594401da2a0c5 /perl.h
parentd7f013c89e40f2e9536e2b2699149fb13299e6ff (diff)
downloadperl-73250e76b906d521a15f2d2c4ba0edef43d8a62b.tar.gz
VOS tweak from Paul Green: VOS has different O_BINARY
and O_TEXT, but VOS always uses LF, never CRLF. p4raw-id: //depot/perl@14006
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index 593df8cd77..dcba8a8e90 100644
--- a/perl.h
+++ b/perl.h
@@ -3943,9 +3943,11 @@ int flock(int fd, int op);
#if O_TEXT != O_BINARY
/* If you have different O_TEXT and O_BINARY and you are a CLRF shop,
* that is, you are somehow DOSish. */
-# if defined(__BEOS__)
+# if defined(__BEOS__) || defined(__VOS__)
/* BeOS has O_TEXT != O_BINARY but O_TEXT and O_BINARY have no effect;
* BeOS is always UNIXoid (LF), not DOSish (CRLF). */
+ /* VOS has O_TEXT != O_BINARY, and they have effect,
+ * but VOS always uses LF, never CRLF. */
/* If you have O_TEXT different from your O_BINARY but you still are
* not a CRLF shop. */
# undef PERLIO_USING_CRLF