Martin Storsjo : wine/asm.h: Use __ASM_CFI on clang too, despite not defining __GCC_HAVE_DWARF2_CFI_ASM.

Alexandre Julliard julliard at winehq.org
Thu May 28 17:11:10 CDT 2020


Module: wine
Branch: master
Commit: c22e8645b08547eeff322b047492c2214ae248d2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=c22e8645b08547eeff322b047492c2214ae248d2

Author: Martin Storsjo <martin at martin.st>
Date:   Thu May 28 11:14:43 2020 +0300

wine/asm.h: Use __ASM_CFI on clang too, despite not defining __GCC_HAVE_DWARF2_CFI_ASM.

It has already been unconditionally enabled for macOS (which uses clang).

Signed-off-by: Martin Storsjo <martin at martin.st>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/wine/asm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/wine/asm.h b/include/wine/asm.h
index 7165f47e96..7650d84a79 100644
--- a/include/wine/asm.h
+++ b/include/wine/asm.h
@@ -33,7 +33,7 @@
 # define __ASM_STDCALL(name,args) __ASM_NAME(name)
 #endif
 
-#if defined(__GCC_HAVE_DWARF2_CFI_ASM) || defined(__APPLE__)
+#if defined(__GCC_HAVE_DWARF2_CFI_ASM) || defined(__APPLE__) || defined(__clang__)
 # define __ASM_CFI(str) str
 #else
 # define __ASM_CFI(str)




More information about the wine-cvs mailing list