summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-11-10 17:39:35 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-11-10 17:39:35 +0000
commit120d3d6ce0f27bc1ffeaeed84347d421f23a451e (patch)
tree995a84f830a3d821ee9322ec001c0df026598a11 /legacy/evas/m4
parent504e6af06fffdb8c401b0b7737b90b95e3f2555b (diff)
Evas: use __always_inline__ and not always_inline
SVN revision: 65028
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/efl_attribute.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/evas/m4/efl_attribute.m4 b/legacy/evas/m4/efl_attribute.m4
index 1c82c79..aeb6a68 100644
--- a/legacy/evas/m4/efl_attribute.m4
+++ b/legacy/evas/m4/efl_attribute.m4
@@ -80,11 +80,11 @@ __forceinline void foo(void) {}
80AC_MSG_RESULT([${have_attribute_always_inline}]) 80AC_MSG_RESULT([${have_attribute_always_inline}])
81 81
82if test "x${have_attribute_always_inline}" = "xno" ; then 82if test "x${have_attribute_always_inline}" = "xno" ; then
83 AC_MSG_CHECKING([for __attribute__ ((always_inline))]) 83 AC_MSG_CHECKING([for __attribute__ ((__always_inline__))])
84 AC_COMPILE_IFELSE( 84 AC_COMPILE_IFELSE(
85 [AC_LANG_PROGRAM( 85 [AC_LANG_PROGRAM(
86 [[ 86 [[
87__attribute__((always_inline)) inline void foo(void) {} 87__attribute__((__always_inline__)) inline void foo(void) {}
88 ]], 88 ]],
89 [[ 89 [[
90 ]])], 90 ]])],
@@ -97,7 +97,7 @@ if test "x${have_attribute_always_inline}" = "xyes" ; then
97 if test "x${have_attribute_forceinline}" = "xyes" ; then 97 if test "x${have_attribute_forceinline}" = "xyes" ; then
98 AC_DEFINE([EFL_ALWAYS_INLINE], [__forceinline], [Macro declaring a function to always be inlined.]) 98 AC_DEFINE([EFL_ALWAYS_INLINE], [__forceinline], [Macro declaring a function to always be inlined.])
99 else 99 else
100 AC_DEFINE([EFL_ALWAYS_INLINE], [__attribute__ ((always_inline)) inline], [Macro declaring a function to always be inlined.]) 100 AC_DEFINE([EFL_ALWAYS_INLINE], [__attribute__ ((__always_inline__)) inline], [Macro declaring a function to always be inlined.])
101 fi 101 fi
102else 102else
103 AC_DEFINE([EFL_ALWAYS_INLINE], [static inline], [Macro declaring a function to always be inlined.]) 103 AC_DEFINE([EFL_ALWAYS_INLINE], [static inline], [Macro declaring a function to always be inlined.])