int64 configure test

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: int64 configure test
Date: 2004-10-04 16:15:05
Message-ID: 200410041615.i94GF5S17171@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have found a problem with int64 detection on MinGW. MinGW defines
int64_t but not int64, but configure only looks for int64:

AC_CACHE_CHECK([whether $1 is 64 bits], [Ac_cachevar],
[AC_TRY_RUN(
[typedef $1 int64;

What is the proper test? int64 or int64_t?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-10-04 16:17:29 Re: Contrib/earthdistance missing from cvsweb.
Previous Message Marc G. Fournier 2004-10-04 16:14:38 Re: Contrib/earthdistance missing from cvsweb.