Обсуждение: pgsql/src/include (c.h)

Поиск
Список
Период
Сортировка

pgsql/src/include (c.h)

От
Tom Lane
Дата:
  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)

От
Bruce Momjian
Дата:
>   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