diff options
-rw-r--r-- | m4/_xine.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/m4/_xine.m4 b/m4/_xine.m4 index 43c0faba8..7adf7af0a 100644 --- a/m4/_xine.m4 +++ b/m4/_xine.m4 @@ -13,6 +13,13 @@ AC_DEFUN([AC_C_ALWAYS_INLINE], CFLAGS="$SAVE_CFLAGS" AC_MSG_RESULT([$ac_cv_always_inline]) if test x"$ac_cv_always_inline" = x"yes"; then + AH_TOP([ +#ifdef inline +/* the strange formatting below is needed to prevent config.status from rewriting it */ +# undef \ + inline +#endif + ]) AC_DEFINE_UNQUOTED([inline],[inline __attribute__ ((__always_inline__))]) fi fi]) |