summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2002-01-02 08:38:18 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2002-01-02 08:38:18 +0000
commita518c9fdaad2e222181fbe8a26d5e23ab0b38d16 (patch)
tree34cc46334e49bf16f3351f4cef4143238f4431b7 /perl.h
parent03c0554db8e47cb38996070bd764029a34869073 (diff)
parent5469e704aecd76ac4296e61a7da26384c20121df (diff)
downloadperl-a518c9fdaad2e222181fbe8a26d5e23ab0b38d16.tar.gz
Integrate mainline
p4raw-id: //depot/perlio@14011
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index ddea22b0a4..5f14bd7298 100644
--- a/perl.h
+++ b/perl.h
@@ -3943,7 +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