]> granicus.if.org Git - libvpx/commitdiff
Add __inline__ to INLINE definition.
authorJohann <johann.koenig@duck.com>
Thu, 2 May 2013 19:32:02 +0000 (12:32 -0700)
committerJohann <johann.koenig@duck.com>
Thu, 2 May 2013 19:32:02 +0000 (12:32 -0700)
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

index 23dc87f31aa1edc08a95a01a64f320be99bc8d55..a7e17864b200229c6835096161f3bef9e9544aeb 100755 (executable)
@@ -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