pgsql/src/include (c.h)

Started by Tom Laneover 26 years ago2 messagescommitters
Jump to latest
#1Tom Lane
tom_lane___@unknown.user

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.

#2Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Tom Lane (#1)
Re: pgsql/src/include (c.h)

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