Blame valgrind-3.8.1-config_h.patch
|
Jakub Jelinek |
81c97a |
--- valgrind/include/pub_tool_basics.h.jj 2011-10-26 23:24:32.000000000 +0200
|
|
Jakub Jelinek |
81c97a |
+++ valgrind/include/pub_tool_basics.h 2011-12-09 17:42:50.828630546 +0100
|
|
Mark Wielaard |
f4ddfb |
@@ -297,7 +297,7 @@ static inline Bool sr_EQ ( SysRes sr1, S
|
|
Jakub Jelinek |
81c97a |
#define VG_BUGS_TO "www.valgrind.org"
|
|
Jakub Jelinek |
81c97a |
|
|
Jakub Jelinek |
81c97a |
/* Branch prediction hints. */
|
|
Jakub Jelinek |
81c97a |
-#if defined(__GNUC__)
|
|
Jakub Jelinek |
81c97a |
+#if defined(__GNUC__) && (__GNUC__ >= 3)
|
|
Jakub Jelinek |
81c97a |
# define LIKELY(x) __builtin_expect(!!(x), 1)
|
|
Jakub Jelinek |
81c97a |
# define UNLIKELY(x) __builtin_expect(!!(x), 0)
|
|
Jakub Jelinek |
81c97a |
#else
|