Re: Second call for platform testing

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Cyril VELTER <cyril(dot)velter(at)libertysurf(dot)fr>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>, Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>
Subject: Re: Second call for platform testing
Date: 2001-12-02 11:46:31
Message-ID: Pine.LNX.4.30.0112012237320.759-200000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane writes:

> "Cyril VELTER" <cyril(dot)velter(at)libertysurf(dot)fr> writes:
> > What modification should be made to configure.in to make it include
> > SupportDefs.h when testing for int8 uint8 int64 and uint64 size ?
>
> This looks like a bit of a pain. We're currently using AC_CHECK_SIZEOF
> to make those probes, apparently because it's the closest standard macro
> to what we want. But it's not close enough. It doesn't include
> anything except <stdio.h>. I don't think we can fix this except by
> making our own macro. Peter, any opinion about how to do it?

OK, I bit the bullet and made up a whole new macro for type testing.
Those who can't get at a new snapshot can try the attached patch.

I have included <stdio.h> because that appears to effect the definition of
the types in question on AIX; apparently it pulls in <inttypes.h> somehow.

Please check this on AIX and BeOS.

--
Peter Eisentraut peter_e(at)gmx(dot)net

Attachment Content-Type Size
typecheck-patch text/plain 5.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-12-02 15:11:27 Re: Yet more logging questions
Previous Message Serguei Mokhov 2001-12-02 06:58:10 psql misbehaves because of a simple typo