summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-03-04 00:17:08 +0000
committerRoy Marples <roy@marples.name>2019-03-04 00:17:08 +0000
commitc6e1d74039562a4358c680ff07286c919f7d15c9 (patch)
tree39d8bf89a5380a397ec7f02aa4e1ad6b7effe0a4 /compat
parent9feb1140417463f0b5f299a04d99e4bc2e0924d4 (diff)
downloaddhcpcd-c6e1d74039562a4358c680ff07286c919f7d15c9.tar.xz
Linux: now fix compile again ....
Diffstat (limited to 'compat')
-rw-r--r--compat/rb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/rb.c b/compat/rb.c
index 9c83e6bc..9b5491ee 100644
--- a/compat/rb.c
+++ b/compat/rb.c
@@ -68,7 +68,7 @@ __weak_alias(rb_tree_depths, _rb_tree_depths)
//#endif
#if !defined(__predict_false)
-#if __GNUC_PREREQ__(2, 96) || defined(__lint__)
+#if __GNUC__ > 2
#define __predict_true(exp) __builtin_expect((exp) != 0, 1)
#define __predict_false(exp) __builtin_expect((exp) != 0, 0)
#else