STATUS_UNWIND_CONSOLIDATE "should not happen", so don't include it -

we'd have to include some other headers to get it defined.

Get rid of the include of Winbase.h - it doesn't define
STATUS_UNWIND_CONSOLIDATE, and it's not necessary.

svn path=/trunk/; revision=33413
This commit is contained in:
Guy Harris 2010-07-02 08:52:35 +00:00
parent 949b2a2dc8
commit 1b9e4d5c00
1 changed files with 0 additions and 2 deletions

View File

@ -44,7 +44,6 @@
#include <signal.h>
#ifdef _WIN32
#include <Winbase.h>
#include <wsutil/unicode-utils.h>
#endif
@ -275,7 +274,6 @@ win32strexception(DWORD exception)
{ EXCEPTION_PRIV_INSTRUCTION, "Privileged instruction" },
{ EXCEPTION_SINGLE_STEP, "Single-step complete" },
{ EXCEPTION_STACK_OVERFLOW, "Stack overflow" },
{ STATUS_UNWIND_CONSOLIDATE, "Frame consolidation executed" },
{ 0, NULL }
};
#define N_EXCEPTIONS (sizeof exceptions / sizeof exceptions[0])