[PATCH] aclocal.m4: Use __asm__ keyword instead of asm

Yann Droneaud yann at droneaud.fr
Mon Oct 26 11:30:17 CDT 2009


All other sources files use __asm__ keyword.
---
 aclocal.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index f7beb5d..e8c9a45 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -62,7 +62,7 @@ dnl
 dnl Usage: WINE_TRY_ASM_LINK(asm-code,includes,function,[action-if-found,[action-if-not-found]])
 dnl
 AC_DEFUN([WINE_TRY_ASM_LINK],
-[AC_LINK_IFELSE(AC_LANG_PROGRAM([[$2]],[[asm($1); $3]]),[$4],[$5])])
+[AC_LINK_IFELSE(AC_LANG_PROGRAM([[$2]],[[__asm__($1); $3]]),[$4],[$5])])
 
 dnl **** Check if we can link an empty program with special CFLAGS ****
 dnl
-- 
1.6.2.5




More information about the wine-patches mailing list