curl-library
Re: curl_off_t suffix
From: Jamie Lokier <jamie_at_shareable.org>
Date: Thu, 14 Aug 2008 12:37:58 +0100
Date: Thu, 14 Aug 2008 12:37:58 +0100
Yang Tse wrote:
> > Boy, that's going to be fun to parse in m4! It may be easier to parse
> > INT64_MAX instead and extract the suffix; Watcom defines that as a simple
> >
> > #define INT64_MAX 9223372036854775807LL
> >
> > but, surely, that's in itself no more portable.
>
> Lets see...
>
> Which actual signed suffixes exist out there ? 'L' 'LL' 'i128' 'i64'
> 'i32' 'i16' 'i8'
Instead of trying to parse the definitions, how about simply _trying_
suffixes to get one which works - like other Autoconf macros usually do?
-- Jamie
Received on 2008-08-14