Re: Beta going well

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tatsuo Ishii <t-ishii@sra.co.jp>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2001-11-07T17:28:24Z
Lists: pgsql-hackers
Tom Lane writes:

> > The correct way would be to check for the existance of int8, int16, etc.
>
> Good in theory ... but ... are you sure you have included the correct
> set of system headers before checking this?

I'm sure I haven't, that's why someone is supposed to check this.

> (It's not at all clear to me that we know what "correct" is in this
> context.)

If the compiler is complaining that int8 is defined twice we need to check
if its already defined once and avoid a second declaration.  The problem
is setting up an appropriate environment to be relatively sure about the
result of "already defined once".  That's the usual procedure in autoconf
programming.

-- 
Peter Eisentraut   peter_e@gmx.net