projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e410dc7
)
Avoid warning on QNX.
author
Bruno Haible
<bruno@clisp.org>
Thu, 28 Aug 2003 13:59:25 +0000
(13:59 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Thu, 28 Aug 2003 13:59:25 +0000
(13:59 +0000)
lib/ChangeLog
patch
|
blob
|
history
lib/binary-io.h
patch
|
blob
|
history
diff --git
a/lib/ChangeLog
b/lib/ChangeLog
index e37756fb6758e5958e9f5a1bdc19971704ae95a7..d3c1868dcade9ae42328ef1e903e91804839189c 100644
(file)
--- a/
lib/ChangeLog
+++ b/
lib/ChangeLog
@@
-1,3
+1,8
@@
+2003-08-28 Bruno Haible <bruno@clisp.org>
+
+ * binary-io.h: Undefine O_BINARY before defining it. This avoids a
+ warning on QNX, which defines O_BINARY to 000000.
+
2003-08-24 Bruno Haible <bruno@clisp.org>
* binary-io.h: Include <stdio.h>, to avoid a compilation error when
diff --git
a/lib/binary-io.h
b/lib/binary-io.h
index 2229f84c7a9c931aabd7ac8836f2eb63765213e8..3ff2a375f434a575ae8afb908511ec0d9bae3a74 100644
(file)
--- a/
lib/binary-io.h
+++ b/
lib/binary-io.h
@@
-53,6
+53,7
@@
# endif
#else
/* On reasonable systems, binary I/O is the default. */
+# undef O_BINARY
# define O_BINARY 0
# define SET_BINARY(fd) /* nothing */
#endif