changeset 9376:15917bb4d078

Fix typo in macro name.
author Bruno Haible <bruno@clisp.org>
date Sun, 21 Oct 2007 02:33:32 +0200
parents 96fea5b2eb11
children ca27c3808c95
files ChangeLog lib/count-one-bits.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-20  Bruno Haible  <bruno@clisp.org>
+
+	* lib/count-one-bits.h (COUNT_ONE_BITS): Use the builtin also for
+	gcc-3.4.x.
+
 2007-10-20  Ben Pfaff  <blp@gnu.org>
 
 	* lib/math.in.h: Declare round, roundf, roundl if we are providing
--- a/lib/count-one-bits.h
+++ b/lib/count-one-bits.h
@@ -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