Re: ecpg doesn't compile (datetime.h/dtime_t)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ecpg doesn't compile (datetime.h/dtime_t)
Date: 2003-09-29 18:11:37
Message-ID: 200309291811.h8TIBbU10144@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2003-09-29 18:20:36 Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Previous Message Michael Meskes 2003-09-29 18:08:01 Re: ecpg doesn't compile (datetime.h/dtime_t)