Re: Beta going well - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Beta going well
Date
Msg-id Pine.LNX.4.30.0111070219350.3607-100000@peter.localdomain
Whole thread Raw
In response to Re: Beta going well  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: "julian felipe castrillon"
Date:
Subject:
Next
From: Tom Lane
Date:
Subject: Re: Status of 7.2