]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(O_BINARY) [!O_BINARY && defined O_BINARY]:
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Aug 2004 03:04:00 +0000 (03:04 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 8 Aug 2004 03:04:00 +0000 (03:04 +0000)
Do not define, to avoid annoying compiler messages on QNX 6.3.

src/system.h

index f70616be9cdd706120bc7477347e4358bcdc4ed8..3497969a49373bed35259006e87d5c50651eaaa7 100644 (file)
@@ -249,7 +249,9 @@ initialize_exit_failure (int status)
 # define SET_MODE(_f, _m) (void)0
 # define SET_BINARY(f) (void)0
 # define SET_BINARY2(f1,f2) (void)0
-# define O_BINARY 0
+# ifndef O_BINARY
+#  define O_BINARY 0
+# endif
 # define O_TEXT 0
 #endif /* O_BINARY */