]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid warning on QNX.
authorBruno Haible <bruno@clisp.org>
Thu, 28 Aug 2003 13:58:32 +0000 (13:58 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:55 +0000 (12:10 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/binary-io.h

index 5890f5b8b4f6f2e137ce5169c154ab8031fe3459..b2ed205e6d5d85612788103c0ed9640017a7d704 100644 (file)
@@ -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-27  Bruno Haible  <bruno@clisp.org>
 
        * getopt.h: Include config.h. Needed for DLL_VARIABLE on OSF/1 4.0.
index 2229f84c7a9c931aabd7ac8836f2eb63765213e8..3ff2a375f434a575ae8afb908511ec0d9bae3a74 100644 (file)
@@ -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