Re: Beta going well

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tatsuo Ishii <t-ishii@sra.co.jp>
Cc: lamar.owen@wgcr.org, pgman@candle.pha.pa.us, scrappy@hub.org, pgsql-hackers@postgresql.org
Date: 2001-11-05T02:54:43Z
Lists: pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> However I'm not sure if it's a correct solution. Problem is, AIX 5L
> has sys/inttypes.h where int8, int16, int32 and int64 are
> defined. Should we detect them in configure? Also, I'm afraid it would
> break other AIX versions. Comments?

Perhaps have configure test for the presence of <sys/inttypes.h>
and then let c.h do

	#ifdef HAVE_SYS_INTTYPES_H
	#include <sys/inttypes.h>
	#else
	typedef signed char int8;
	... etc
	#endif

Could this substitute for the ugly #ifndef __BEOS__ as well?

			regards, tom lane