From 98f5206a61037f2b0e46812aaac4eafb439d4fff Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 19 Apr 2000 15:36:05 +0000 Subject: [__BEOS__]: Ignore O_BINARY and O_TEXT. --- src/system.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/system.h') diff --git a/src/system.h b/src/system.h index 0847f15a6..582fd7c51 100644 --- a/src/system.h +++ b/src/system.h @@ -159,6 +159,13 @@ extern int errno; # define O_BINARY _O_BINARY # define O_TEXT _O_TEXT #endif + +#ifdef __BEOS__ + /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ +# undef O_BINARY +# undef O_TEXT +#endif + #if O_BINARY # ifndef __DJGPP__ # define setmode _setmode -- cgit v1.2.3-54-g00ecf