> > > The correct way would be to check for the existance of int8,
int16, etc.
Just tried to check your patch, but failed because I don't have a
running autoconf
:-(
Tried manual edit of pg_config:
It is important that all lines #undef SIZEOF_INTxx get replaced.
Wouldn't it be better to default those lines to #define SIZEOF_INT8 0
The check for int64 and uint64 has to be separated, my AIX
has: int8, int16, int32, int64
but not: uint8, uint16, uint32, uint64
Would you be so kind, as to supply me another patch (maybe including
configure) I can test before beta3 ?
Thanks in advance
Andreas
2.
> >
> > 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
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>