Evas: check static inline functions, not just inline ones
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Feb 2012 07:09:07 +0000 (07:09 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 26 Feb 2012 07:09:07 +0000 (07:09 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@68448 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

m4/efl_attribute.m4

index aeb6a68..1f3a040 100644 (file)
@@ -67,7 +67,7 @@ AC_COMPILE_IFELSE(
    [AC_LANG_PROGRAM(
        [[
 #include <windows.h>
-__forceinline void foo(void) {}
+static __forceinline void foo(void) {}
        ]],
        [[
        ]])],
@@ -84,7 +84,7 @@ if test "x${have_attribute_always_inline}" = "xno" ; then
    AC_COMPILE_IFELSE(
       [AC_LANG_PROGRAM(
           [[
-__attribute__((__always_inline__)) inline void foo(void) {}
+static __attribute__((__always_inline__)) inline void foo(void) {}
           ]],
           [[
           ]])],