Thread: pgsql/src/include (c.h)

pgsql/src/include (c.h)

From
Tom Lane
Date:
  Date: Monday, July 17, 2000 @ 00:35:55
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/include
     from hub.org:/home/projects/pgsql/tmp/cvs-serv46030

Modified Files:
    c.h

-----------------------------  Log Message  -----------------------------

I concur with Andreas: unconditionally including  <sys/fcntl.h>  is not
portable.  Seems to have been added for O_BINARY, which is only needed
for __CYGWIN32__, so include it here only in that case.

Re: pgsql/src/include (c.h)

From
Bruce Momjian
Date:
>   Date: Monday, July 17, 2000 @ 00:35:55
> Author: tgl
>
> Update of /home/projects/pgsql/cvsroot/pgsql/src/include
>      from hub.org:/home/projects/pgsql/tmp/cvs-serv46030
>
> Modified Files:
>     c.h
>
> -----------------------------  Log Message  -----------------------------
>
> I concur with Andreas: unconditionally including  <sys/fcntl.h>  is not
> portable.  Seems to have been added for O_BINARY, which is only needed
> for __CYGWIN32__, so include it here only in that case.
>

Yep, that was me.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026