Re: int64 configure test - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: int64 configure test
Date
Msg-id 200410041617.i94GHtP20181@candle.pha.pa.us
Whole thread Raw
In response to int64 configure test  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian wrote:
> 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?

Sorry, wrong analysis.  Something is still wrong with MinGW's detection
but this is not it.  Let me continue testing.

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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: int64 configure test
Next
From: Mark Wong
Date:
Subject: FunctionCall2 performance