bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnulib] make binary-io.h work on QNX


From: Bruno Haible
Subject: [Bug-gnulib] make binary-io.h work on QNX
Date: Thu, 28 Aug 2003 15:59:28 +0200
User-agent: KMail/1.5

Hi,

I was told that QNX <fcntl.h> does
  #define O_BINARY 000000
and this gives a warning in gnulib's binary-io.h. I've committed this fix.

Bruno


2003-08-28  Bruno Haible  <address@hidden>

        * binary-io.h: Undefine O_BINARY before defining it. This avoids a
        warning on QNX, which defines O_BINARY to 000000.

diff -c -3 -r1.2 binary-io.h
*** binary-io.h 25 Aug 2003 11:04:49 -0000      1.2
--- binary-io.h 28 Aug 2003 13:57:23 -0000
***************
*** 53,58 ****
--- 53,59 ----
  # endif
  #else
    /* On reasonable systems, binary I/O is the default.  */
+ # undef O_BINARY
  # define O_BINARY 0
  # define SET_BINARY(fd) /* nothing */
  #endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]