Ken Thomases : include: Always generate CFI directives on macOS.

Alexandre Julliard julliard at winehq.org
Thu Sep 26 15:51:20 CDT 2019


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

Author: Ken Thomases <ken at codeweavers.com>
Date:   Thu Sep 26 13:38:16 2019 -0500

include: Always generate CFI directives on macOS.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47736
Signed-off-by: Ken Thomases <ken at codeweavers.com>
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 01dfdb1deb..8c664476ef 100644
--- a/include/wine/asm.h
+++ b/include/wine/asm.h
@@ -33,7 +33,7 @@
 # define __ASM_STDCALL(name,args) __ASM_NAME(name)
 #endif
 
-#ifdef __GCC_HAVE_DWARF2_CFI_ASM
+#if defined(__GCC_HAVE_DWARF2_CFI_ASM) || defined(__APPLE__)
 # define __ASM_CFI(str) str
 #else
 # define __ASM_CFI(str)




More information about the wine-cvs mailing list