From: Jarkko Hietaniemi Date: Sun, 23 Dec 2001 04:04:20 +0000 (+0000) Subject: More logical test ordering. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ec53fe4f9e818e0863fdf95395e02d6b1741bcfd;p=p5sagit%2Fp5-mst-13.2.git More logical test ordering. p4raw-id: //depot/perl@13863 --- diff --git a/perl.h b/perl.h index 4dfc8ef..dc7524e 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