__GNUC_PREREQ should be causing problems anymore.
authorJean-Marc Valin <Jean-Marc.Valin@csiro.au>
Tue, 11 Mar 2008 23:42:24 +0000 (10:42 +1100)
committerJean-Marc Valin <Jean-Marc.Valin@csiro.au>
Tue, 11 Mar 2008 23:42:24 +0000 (10:42 +1100)
libcelt/ecintrin.h

index 9fce3be..4cb4d1f 100644 (file)
@@ -52,7 +52,7 @@
 /*Count leading zeros.
   This macro should only be used for implementing ec_ilog(), if it is defined.
   All other code should use EC_ILOG() instead.*/
-#ifdef __GNUC__
+#ifdef __GNUC_PREREQ
 #if __GNUC_PREREQ(3,4)
 # if INT_MAX>=2147483647
 #  define EC_CLZ0 sizeof(unsigned)*CHAR_BIT
@@ -74,7 +74,7 @@
 # define EC_ILOG(_x) (ec_ilog(_x))
 #endif
 
-#ifdef __GNUC__
+#ifdef __GNUC_PREREQ
 #if __GNUC_PREREQ(3,4)
 # if INT_MAX>=9223372036854775807
 #  define EC_CLZ64_0 sizeof(unsigned)*CHAR_BIT