Re: ecpg doesn't compile (datetime.h/dtime_t)
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Michael Meskes <meskes@postgresql.org>
Cc: Patrick Welche <prlw1@newn.cam.ac.uk>, pgsql-hackers@postgresql.org
Date: 2003-09-29T18:11:37Z
Lists: pgsql-hackers
Michael Meskes wrote: > On Mon, Sep 29, 2003 at 06:41:48PM +0100, Patrick Welche wrote: > > Today's cvs doesn't compile. I think it is due to > > cvs diff -r1.7 -r1.8 src/interfaces/ecpg/include/datetime.h > > I have dtime_t defined in my sys/types.h. The old version of datetime.h used > > For ecpg it does not matter which name you use. The typedef is there for > only one reason, namely that Informix uses dtime_t and to be compatible > we have to define that type as well. Should that be visible to non-Informix-compatible builds, or is there no way to control that. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073