Author: tkreuzer Date: Thu Mar 5 21:09:12 2015 New Revision: 66572
URL: http://svn.reactos.org/svn/reactos?rev=66572&view=rev Log: [CRT] Remove definition of __JUMP_BUFFER and include setjmp.h instead, where it is defined.
Modified: trunk/reactos/lib/sdk/crt/except/i386/unwind.c
Modified: trunk/reactos/lib/sdk/crt/except/i386/unwind.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/except/i386/unw... ============================================================================== --- trunk/reactos/lib/sdk/crt/except/i386/unwind.c [iso-8859-1] (original) +++ trunk/reactos/lib/sdk/crt/except/i386/unwind.c [iso-8859-1] Thu Mar 5 21:09:12 2015 @@ -1,6 +1,7 @@ #define WIN32_NO_STATUS #include <precomp.h> #define NTOS_MODE_USER +#include <setjmp.h> #include <ndk/umtypes.h> #include <ndk/extypes.h> #include <ndk/rtlfuncs.h> @@ -24,23 +25,6 @@ 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);