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>
This commit is contained in:
Stefan Dösinger 2022-06-15 13:16:26 +03:00 committed by Alexandre Julliard
parent c8a356ca15
commit 9618f5ab8f

View file

@ -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)