From 8d40f81d1e8d01f35cb6c27d06052bea463455a0 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 25 Sep 2019 16:26:59 +0200 Subject: [PATCH] include: Remove no longer needed dependency on setjmp.h. Signed-off-by: Alexandre Julliard --- 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 3281130c503..90ce30d6a21 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 #include #include @@ -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;