From 9ebc99fcac4fe02f8814271b4904fff075b02234 Mon Sep 17 00:00:00 2001 From: Johann <johann.koenig@duck.com> Date: Thu, 2 May 2013 12:32:02 -0700 Subject: [PATCH] Add __inline__ to INLINE definition. When using 'always_inline' 'inline' should be specified as well. Thanks to Digit for identifying this: https://chromiumcodereview.appspot.com/14820003/ Change-Id: If1647fac91b85ecabe6d3cd04290d5c08c5a11ea --- build/make/configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/make/configure.sh b/build/make/configure.sh index 23dc87f31a..a7e17864b2 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -1179,7 +1179,7 @@ EOF check_cc <<EOF && INLINE="inline" static inline function() {} EOF - check_cc <<EOF && INLINE="__attribute__((always_inline))" + check_cc <<EOF && INLINE="__inline__ __attribute__((always_inline))" static __attribute__((always_inline)) function() {} EOF -- GitLab