repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: fc2d3e8532f6b14491b92d015ebbd5412080780d:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit fc2d3e8532f6b14491b92d015ebbd5412080780d
Author: Emanuele Giaquinta 
Date:   Tue Jun 26 10:46:28 2007 +0000

    gcc-3.4 has __builtin_{ctz,popcount}.

diff --git a/src/rxvtutil.h b/src/rxvtutil.h
index 11831e0bbb0d0870165f97d7f7196f67a5b87f88..
index ..98af695261b848d92ed80ab327018d258a2397f4 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__

-----END OF PAGE-----