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

Joe Orton joe at manyfish.co.uk
Wed Jan 11 17:17:15 CET 2006


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 "("!




More information about the Gnutls-dev mailing list