cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sizeof long?

From: Yang Tse <yangsita_at_gmail.com>
Date: Wed, 13 Aug 2008 21:49:44 +0200

2008/8/13, Daniel Stenberg wrote:

> First of all, the configure script now fails to detect the size of long on
> my standard 32bit linux box:

That means that the compiler does not 'know' the definition of the
'long' data type without including a header file.

> But more importantly: why did you write your own size check macro when
> AC_CHECK_SIZEOF(long) is already in configure.ac and still used?

The reason is simple, first impulse. And did not realize that there
was another check left. Hmmm.

I have just changed it to use autoconf's check.

-- 
-=[Yang]=-
Received on 2008-08-13