From 39d1b9c0e56de5bdfdd4a6a716acec7c775f690e Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 3 Jul 2003 18:08:04 +0000 Subject: [PATCH] DPMI exceptions only happen on i386. --- dlls/winedos/int31.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/winedos/int31.c b/dlls/winedos/int31.c index 297960dbc16..b008de59eb2 100644 --- a/dlls/winedos/int31.c +++ b/dlls/winedos/int31.c @@ -88,6 +88,7 @@ BOOL DOSVM_IsDos32(void) */ static WINE_EXCEPTION_FILTER(dpmi_exception_handler) { +#ifdef __i386__ EXCEPTION_RECORD *rec = GetExceptionInformation()->ExceptionRecord; CONTEXT *context = GetExceptionInformation()->ContextRecord; @@ -98,7 +99,7 @@ static WINE_EXCEPTION_FILTER(dpmi_exception_handler) DOSVM_SendQueuedEvents(context); return EXCEPTION_CONTINUE_EXECUTION; } - +#endif return EXCEPTION_CONTINUE_SEARCH; }