]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
[__BEOS__]: Ignore O_BINARY and O_TEXT.
authorJim Meyering <jim@meyering.net>
Wed, 19 Apr 2000 15:36:05 +0000 (15:36 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 19 Apr 2000 15:36:05 +0000 (15:36 +0000)
src/system.h

index 0847f15a68cb1ae1c8bc2a066f5fa9fed7586c1e..582fd7c514cbd6c645f7b2776d9092e7b98209e2 100644 (file)
@@ -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