Commit 9ebc99fc authored by Johann's avatar Johann

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
parent a288c928
...@@ -1179,7 +1179,7 @@ EOF ...@@ -1179,7 +1179,7 @@ EOF
check_cc <<EOF && INLINE="inline" check_cc <<EOF && INLINE="inline"
static inline function() {} static inline function() {}
EOF EOF
check_cc <<EOF && INLINE="__attribute__((always_inline))" check_cc <<EOF && INLINE="__inline__ __attribute__((always_inline))"
static __attribute__((always_inline)) function() {} static __attribute__((always_inline)) function() {}
EOF EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment