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; }