From: Bruno Haible Date: Thu, 28 Aug 2003 13:58:32 +0000 (+0000) Subject: Avoid warning on QNX. X-Git-Tag: v0.13~292 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e6ba737ab8d672ed76806a5a43f069758b4c7dbe;p=thirdparty%2Fgettext.git Avoid warning on QNX. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 5890f5b8b..b2ed205e6 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-08-28 Bruno Haible + + * 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 * getopt.h: Include config.h. Needed for DLL_VARIABLE on OSF/1 4.0. diff --git a/gettext-tools/lib/binary-io.h b/gettext-tools/lib/binary-io.h index 2229f84c7..3ff2a375f 100644 --- a/gettext-tools/lib/binary-io.h +++ b/gettext-tools/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