about summary refs log tree commit diff
path: root/converter/other/bmptopnm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-05-01 02:42:04 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-05-01 02:42:04 +0000
commit16970c0de736133435e63a0efe43b860464199c4 (patch)
treed4d6d02de773f624be5a42cad45d779a01da3f71 /converter/other/bmptopnm.c
parent39dd39596b97f09b2e84ed612e60a0402dc3ab41 (diff)
downloadnetpbm-mirror-16970c0de736133435e63a0efe43b860464199c4.tar.gz
netpbm-mirror-16970c0de736133435e63a0efe43b860464199c4.tar.xz
netpbm-mirror-16970c0de736133435e63a0efe43b860464199c4.zip
cleanup, speed up
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@905 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/bmptopnm.c')
-rw-r--r--converter/other/bmptopnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/bmptopnm.c b/converter/other/bmptopnm.c
index 30b1012f..647ae3c6 100644
--- a/converter/other/bmptopnm.c
+++ b/converter/other/bmptopnm.c
@@ -421,7 +421,7 @@ lsbZeroCount(unsigned int const mask)
    Use GCC built-in when available.
 -----------------------------------------------------------------------------*/
 
-#if ( defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 304) )
+#if HAVE_GCC_BITCOUNT 
 {
       return ( mask==0 ? sizeof(mask)*8 : __builtin_ctz(mask) );
 }