From: Jim Meyering Date: Wed, 19 Apr 2000 15:36:05 +0000 (+0000) Subject: [__BEOS__]: Ignore O_BINARY and O_TEXT. X-Git-Tag: FILEUTILS-4_0r~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98f5206a61037f2b0e46812aaac4eafb439d4fff;p=thirdparty%2Fcoreutils.git [__BEOS__]: Ignore O_BINARY and O_TEXT. --- diff --git a/src/system.h b/src/system.h index 0847f15a68..582fd7c514 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