projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78efa85
)
gcc-3.4 has __builtin_{ctz,popcount}.
author
ayin
<ayin>
Tue, 26 Jun 2007 10:46:28 +0000
(10:46 +0000)
committer
ayin
<ayin>
Tue, 26 Jun 2007 10:46:28 +0000
(10:46 +0000)
src/rxvtutil.h
patch
|
blob
|
history
diff --git
a/src/rxvtutil.h
b/src/rxvtutil.h
index 11831e0bbb0d0870165f97d7f7196f67a5b87f88..98af695261b848d92ed80ab327018d258a2397f4 100644
(file)
--- 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__