From: Roy Marples Date: Mon, 4 Mar 2019 00:17:08 +0000 (+0000) Subject: Linux: now fix compile again .... X-Git-Tag: v8.0.0~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df1bab88408329684a45ed2cf681e69d91d1e162;p=thirdparty%2Fdhcpcd.git Linux: now fix compile again .... --- 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