Re: Beta going well

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: lamar(dot)owen(at)wgcr(dot)org, pgman(at)candle(dot)pha(dot)pa(dot)us, scrappy(at)hub(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Beta going well
Date: 2001-11-05 02:54:43
Message-ID: 15318.1004928883@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-05 04:23:41 My new job with SRA
Previous Message Tatsuo Ishii 2001-11-05 02:47:49 Re: Beta going well