summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-11-04 22:08:54 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-11-04 22:08:54 +0000
commite7d87f25395e729f595c861f28b00fca7f113e61 (patch)
tree1a5668b67bb4535727ce370928fd7cc97800d537 /legacy/evas/m4
parent22dffda1e7dce7f505f7adefe8a08fd2725f696c (diff)
Evas: efl_attributes.m4
NEVER define a macro whose name is the name of the attribute, it breaks compilation on some platforms SVN revision: 64749
Diffstat (limited to 'legacy/evas/m4')
-rw-r--r--legacy/evas/m4/efl_attribute.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/evas/m4/efl_attribute.m4 b/legacy/evas/m4/efl_attribute.m4
index 12d2039..36c7a35 100644
--- a/legacy/evas/m4/efl_attribute.m4
+++ b/legacy/evas/m4/efl_attribute.m4
@@ -71,9 +71,9 @@ __attribute__((always_inline)) inline void foo(void) {}
71AC_MSG_RESULT([${have_attribute_always_inline}]) 71AC_MSG_RESULT([${have_attribute_always_inline}])
72 72
73if test "x${have_attribute_always_inline}" = "xyes" ; then 73if test "x${have_attribute_always_inline}" = "xyes" ; then
74 AC_DEFINE([always_inline], [__attribute__ ((always_inline)) inline], [Macro declaring a function to always be inlined.]) 74 AC_DEFINE([EFL_ALWAYS_INLINE], [__attribute__ ((always_inline)) inline], [Macro declaring a function to always be inlined.])
75else 75else
76 AC_DEFINE([always_inline], [inline], [Macro declaring a function to always be inlined.]) 76 AC_DEFINE([EFL_ALWAYS_INLINE], [inline], [Macro declaring a function to always be inlined.])
77fi 77fi
78]) 78])
79 79