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