Re: ECPG compile error - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: ECPG compile error
Date
Msg-id 20030625161004.GB3919@feivel.fam-meskes.de
Whole thread Raw
In response to ECPG compile error  (Rod Taylor <rbt@rbt.ca>)
Responses Re: ECPG compile error
Re: ECPG compile error
List pgsql-hackers
On Wed, Jun 25, 2003 at 11:51:47AM -0400, Rod Taylor wrote:
> misc.c: In function `ECPGset_informix_null':
> misc.c:272: `LONG_LONG_MIN' undeclared (first use in this function)
> misc.c:272: (Each undeclared identifier is reported only once
> misc.c:272: for each function it appears in.)
> misc.c: In function `ECPGis_informix_null':
> misc.c:330: `LONG_LONG_MIN' undeclared (first use in this function)

Geez, platform independeny is a major headache. :-)

It seems my system automatically included limits.h. Other appear to not
do this. I already committed an update but I'm not sure you have the
version that does.

Anyway, if you have and it appears you also have HAVE_LONG_LONG_INT_64
defined, which header file does provide the approprioate constants and
how is it named? It seems INT_MIN etc. are there.

Michael

--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Kurt Roeckx
Date:
Subject: Re: ss_family in hba.c
Next
From: Rod Taylor
Date:
Subject: Re: ECPG compile error