bug-gnulib
[Top][All Lists]
Advanced

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

typo in count-one-bits module


From: Bruno Haible
Subject: typo in count-one-bits module
Date: Sun, 21 Oct 2007 01:08:23 +0200
User-agent: KMail/1.5.4

Hi Ben,

GCC does not define the macro __GNUC_MINOR. Its use looks like a typo to me.
OK to commit this?

2007-10-20  Bruno Haible  <address@hidden>

        * lib/count-one-bits.h (COUNT_ONE_BITS): Use the builtin also for
        gcc-3.4.x.

--- lib/count-one-bits.h.orig   2007-10-21 01:05:36.000000000 +0200
+++ lib/count-one-bits.h        2007-10-21 01:03:56.000000000 +0200
@@ -25,7 +25,7 @@
 /* Expand the code which computes the number of 1-bits of the local
    variable 'x' of type TYPE (an unsigned integer type) and returns it
    from the current function.  */
-#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR >= 4)
+#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
 #define COUNT_ONE_BITS(BUILTIN, TYPE)              \
         return BUILTIN (x);
 #else





reply via email to

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