From 5269230c55aa5dc68a54aa4dec23492ffe2179d6 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 5 Mar 2015 21:09:12 +0000 Subject: [PATCH] [CRT] Remove definition of __JUMP_BUFFER and include setjmp.h instead, where it is defined. svn path=/trunk/; revision=66572 --- reactos/lib/sdk/crt/except/i386/unwind.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/reactos/lib/sdk/crt/except/i386/unwind.c b/reactos/lib/sdk/crt/except/i386/unwind.c index cda791cc989..f2317bd826b 100644 --- a/reactos/lib/sdk/crt/except/i386/unwind.c +++ b/reactos/lib/sdk/crt/except/i386/unwind.c @@ -1,6 +1,7 @@ #define WIN32_NO_STATUS #include #define NTOS_MODE_USER +#include #include #include #include @@ -24,23 +25,6 @@ typedef struct _MSVCRT_EXCEPTION_FRAME PEXCEPTION_POINTERS xpointers; } MSVCRT_EXCEPTION_FRAME; - -typedef struct __JUMP_BUFFER -{ - unsigned long Ebp; - unsigned long Ebx; - unsigned long Edi; - unsigned long Esi; - unsigned long Esp; - unsigned long Eip; - unsigned long Registration; - unsigned long TryLevel; - /* Start of new struct members */ - unsigned long Cookie; - unsigned long UnwindFunc; - unsigned long UnwindData[6]; -} _JUMP_BUFFER; - void _local_unwind2(MSVCRT_EXCEPTION_FRAME *RegistrationFrame, LONG TryLevel);