[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnutls-dev] Re: [gnutls-commits] CVS gnutls/gl
From: |
Simon Josefsson |
Subject: |
[gnutls-dev] Re: [gnutls-commits] CVS gnutls/gl |
Date: |
Wed, 11 Jan 2006 18:10:43 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Joe Orton <address@hidden> 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.