gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] 3.0 portability problem


From: Teun Burgers
Subject: Re: [gnugo-devel] 3.0 portability problem
Date: Tue, 09 Oct 2001 18:45:10 +0200

Gunnar wrote:

> +/* We use this to detect whether unsigned ints are bigger than 32
> + * bits. If they are we need to clear higher order bits, otherwise we
> + * can optimize by not doing the masking.
> + */
> +#define BIG_UINT (UINT_MAX > 0xffffffffU)

we could also test for SIZEOF_INT > 4
SIZEOF_INT is already set by configure in config.h.

Teun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]