diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-08 03:04:00 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-08 03:04:00 +0000 |
commit | a5b9e9d4406846c279ef154585121d7d318cb9b3 (patch) | |
tree | b1e1a441224d81b04c3e355995caee0ac3fd9742 | |
parent | a86c457f64bde96a95ac0a376f4e24546ac62926 (diff) | |
download | coreutils-a5b9e9d4406846c279ef154585121d7d318cb9b3.tar.xz |
(O_BINARY) [!O_BINARY && defined O_BINARY]:
Do not define, to avoid annoying compiler messages on QNX 6.3.
-rw-r--r-- | src/system.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h index f70616be9..3497969a4 100644 --- a/src/system.h +++ b/src/system.h @@ -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 */ |