summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-23 04:04:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-23 04:04:20 +0000
commitec53fe4f9e818e0863fdf95395e02d6b1741bcfd (patch)
tree00b93d4d8d1ecf3dd4ba183780ab02e7a57a6681 /perl.h
parentd4f0d9286be4daccd582c7bf38e50c3d474f3760 (diff)
downloadperl-ec53fe4f9e818e0863fdf95395e02d6b1741bcfd.tar.gz
More logical test ordering.
p4raw-id: //depot/perl@13863
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl.h b/perl.h
index 4dfc8ef09f..dc7524ebc8 100644
--- a/perl.h
+++ b/perl.h
@@ -3943,12 +3943,13 @@ 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__)
-# define PERLIO_USING_CRLF 1
-# else
+# if defined(__BEOS__)
/* If you have O_TEXT different from your O_BINARY but you still are
* not a CRLF shop. */
# undef PERLIO_USING_CRLF
+# else
+ /* If you really are DOSish. */
+# define PERLIO_USING_CRLF 1
# endif
#endif