Evas: use __always_inline__ and not always_inline

SVN revision: 65028
This commit is contained in:
Vincent Torri 2011-11-10 17:39:35 +00:00
parent 504e6af06f
commit 120d3d6ce0
1 changed files with 3 additions and 3 deletions

View File

@ -80,11 +80,11 @@ __forceinline void foo(void) {}
AC_MSG_RESULT([${have_attribute_always_inline}])
if test "x${have_attribute_always_inline}" = "xno" ; then
AC_MSG_CHECKING([for __attribute__ ((always_inline))])
AC_MSG_CHECKING([for __attribute__ ((__always_inline__))])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[[
__attribute__((always_inline)) inline void foo(void) {}
__attribute__((__always_inline__)) inline void foo(void) {}
]],
[[
]])],
@ -97,7 +97,7 @@ if test "x${have_attribute_always_inline}" = "xyes" ; then
if test "x${have_attribute_forceinline}" = "xyes" ; then
AC_DEFINE([EFL_ALWAYS_INLINE], [__forceinline], [Macro declaring a function to always be inlined.])
else
AC_DEFINE([EFL_ALWAYS_INLINE], [__attribute__ ((always_inline)) inline], [Macro declaring a function to always be inlined.])
AC_DEFINE([EFL_ALWAYS_INLINE], [__attribute__ ((__always_inline__)) inline], [Macro declaring a function to always be inlined.])
fi
else
AC_DEFINE([EFL_ALWAYS_INLINE], [static inline], [Macro declaring a function to always be inlined.])