[haiku-commits] Re: r40355 - haiku/trunk/src/tests/kits/net/preflet/InterfacesAddOn

  • From: Urias McCullough <umccullough@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 4 Feb 2011 15:38:46 -0800

On Fri, Feb 4, 2011 at 11:52 AM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> kallisti5@xxxxxxxxxxx wrote:
>> +/* GCC 3.4 and onward have a built-in "population count"
>> + * feature that takes advantage of a cpu instruction
>> + */
>> +// TODO : remove when access to BNetworkAddress is complete
>> +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
>
> You can just simplify this one to __GNUC__ > 4, as we don't support any
> other compiler, anyway.

Looks like perhaps the logic was found elsewhere (I see that cairo's
iccolor.c used this logic at one point for example).

- Urias

Other related posts: