[gnutls-dev] Re: [gnutls-commits] CVS gnutls/gl

Simon Josefsson jas at extundo.com
Wed Jan 11 18:10:43 CET 2006


Joe Orton <joe at manyfish.co.uk> writes:

> On Mon, Jan 09, 2006 at 05:40:07PM +0100, CVS User jas wrote:
> ...
>> @@ -238,8 +244,8 @@
>>  #define SIG_ATOMIC_MIN 0
>>  #define SIG_ATOMIC_MAX 127
>>  
>> -#ifndef SIZE_MAX
>> -# define SIZE_MAX ((size_t) -1)
>> +#ifndef SIZE_MAX /* SIZE_MAX may also be defined in config.h. */
>> +# define SIZE_MAX (size_t)~(size_t)0)
>>  #endif
>
> That #define needs an extra leading "("!

Thanks for the catch.  I'll fix it upstreams in gnulib.



More information about the Gnutls-dev mailing list