Module: wine Branch: master Commit: 9618f5ab8f74dfbff32b868baae78d4167466834 URL: https://source.winehq.org/git/wine.git/?a=commit;h=9618f5ab8f74dfbff32b868ba...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Jun 15 13:16:26 2022 +0300
include: Emit CFI directives when building on Mac with gcc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53157 Signed-off-by: Stefan Dösinger stefan@codeweavers.com
---
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 0547ee94b19..2c996ccd86b 100644 --- a/include/wine/asm.h +++ b/include/wine/asm.h @@ -35,7 +35,7 @@ # define __ASM_FASTCALL(name,args) __ASM_NAME("__fastcall_" name) #endif
-#if defined(__GCC_HAVE_DWARF2_CFI_ASM) || (defined(__clang__) && defined(__GNUC__) && !defined(__SEH__)) +#if defined(__GCC_HAVE_DWARF2_CFI_ASM) || ((defined(__APPLE__) || defined(__clang__)) && defined(__GNUC__) && !defined(__SEH__)) # define __ASM_CFI(str) str #else # define __ASM_CFI(str)