summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorGerrit P. Haase <gp@familiehaase.de>2003-05-31 16:12:07 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-06-01 07:37:50 +0000
commit538204d5c084ddeba9f54debc89d135829749520 (patch)
tree5142697394cb12459610b623e1e58bf13d5db1b0 /perl.h
parentb862623f640d051afa35dfa66f03e9a997880b50 (diff)
downloadperl-538204d5c084ddeba9f54debc89d135829749520.tar.gz
Two Cygwin patches from Gerrit.
Subject: [PATCH] perl.h, README.cygwin: Cygwin O_TEXT <> O_BINARY issue From: "Gerrit P. Haase" <gp@familiehaase.de> Date: Sat, 31 May 2003 14:12:07 +0200 Message-ID: <179860591535.20030531141207@familiehaase.de> Subject: [PATCH] t/io/layers.t, Cygwin != DOSISH Date: Sat, 31 May 2003 13:57:49 +0200 Message-ID: <11859733881.20030531135749@familiehaase.de> p4raw-id: //depot/perl@19654
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index c502d2bf48..f469d9e429 100644
--- a/perl.h
+++ b/perl.h
@@ -4092,7 +4092,7 @@ 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__) || defined(__VOS__)
+# if defined(__BEOS__) || defined(__VOS__) || defined(__CYGWIN__)
/* 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,