Module: wine Branch: master Commit: 8d40f81d1e8d01f35cb6c27d06052bea463455a0 URL: https://source.winehq.org/git/wine.git/?a=commit;h=8d40f81d1e8d01f35cb6c27d0...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Sep 25 16:26:59 2019 +0200
include: Remove no longer needed dependency on setjmp.h.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/wine/exception.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/include/wine/exception.h b/include/wine/exception.h index 3281130c50..90ce30d6a2 100644 --- a/include/wine/exception.h +++ b/include/wine/exception.h @@ -21,7 +21,6 @@ #ifndef __WINE_WINE_EXCEPTION_H #define __WINE_WINE_EXCEPTION_H
-#include <setjmp.h> #include <windef.h> #include <excpt.h>
@@ -92,11 +91,7 @@ extern "C" {
#else /* USE_COMPILER_EXCEPTIONS */
-/* jmp_buf definition that should be compatible with the one in msvcrt/setjmp.h */ - -#if defined(__MINGW32__) || defined(__WINE_SETJMP_H) -typedef _JUMP_BUFFER __wine_jmp_buf; -#elif defined(__i386__) +#ifdef __i386__ typedef struct { int reg[16]; } __wine_jmp_buf; #elif defined(__x86_64__) typedef struct { DECLSPEC_ALIGN(16) struct { unsigned __int64 Part[2]; } reg[16]; } __wine_jmp_buf;