From: Jacek Caban jacek@codeweavers.com
--- dlls/winecrt0/exception.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winecrt0/exception.c b/dlls/winecrt0/exception.c index 58cf91172ac..80c13eb9a68 100644 --- a/dlls/winecrt0/exception.c +++ b/dlls/winecrt0/exception.c @@ -23,7 +23,7 @@ #include "wine/exception.h" #include "wine/asm.h"
-#if defined(__GNUC__) || defined(__clang__) +#if (defined(__GNUC__) || defined(__clang__)) && !defined(USE_COMPILER_EXCEPTIONS)
#if defined(__i386__)
@@ -190,4 +190,4 @@ DWORD __cdecl __wine_finally_ctx_handler( EXCEPTION_RECORD *record, return ExceptionContinueSearch; }
-#endif /* __GNUC__ || __clang__ */ +#endif /* (__GNUC__ || __clang__) && !USE_COMPILER_EXCEPTIONS */