From 0d7989d75994038850f8177e8956d40336d1f31b Mon Sep 17 00:00:00 2001 From: ayin Date: Tue, 26 Jun 2007 10:46:28 +0000 Subject: [PATCH] gcc-3.4 has __builtin_{ctz,popcount}. --- src/rxvtutil.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rxvtutil.h b/src/rxvtutil.h index 11831e0b..98af6952 100644 --- a/src/rxvtutil.h +++ b/src/rxvtutil.h @@ -11,8 +11,7 @@ using namespace std; #define PP_STRINGIFY_(a) #a #define PP_STRINGIFY(a) PP_STRINGIFY_(a) -// actually, some gcc-3.x versions work, too -#define HAVE_GCC_BUILTINS (__GNUC__ >= 4) +#define HAVE_GCC_BUILTINS (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ == 4)) #ifndef __attribute__ # if __GNUC__ -- 2.34.1