]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Linux: now fix compile again ....
authorRoy Marples <roy@marples.name>
Mon, 4 Mar 2019 00:17:08 +0000 (00:17 +0000)
committerRoy Marples <roy@marples.name>
Mon, 4 Mar 2019 00:17:08 +0000 (00:17 +0000)
compat/rb.c

index 9c83e6bcdbd47677f0141f8e934f9148ae3c3106..9b5491eed50e1e7e86ca1220f143720d35053f50 100644 (file)
@@ -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