From adad9b668233f490fa951b4cc6d18bcb4faa3ee2 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 8 Jan 2009 17:29:59 +0100 Subject: [PATCH] msvcrt: Fix an unused function warning on non-i386. --- dlls/msvcrt/except.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/msvcrt/except.c b/dlls/msvcrt/except.c index 7c4ee47374..9b254f858a 100644 --- a/dlls/msvcrt/except.c +++ b/dlls/msvcrt/except.c @@ -96,6 +96,9 @@ static inline int call_unwind_func( int (*func)(void), void *ebp ) #endif + +#ifdef __i386__ + static DWORD MSVCRT_nested_handler(PEXCEPTION_RECORD rec, EXCEPTION_REGISTRATION_RECORD* frame, PCONTEXT context, @@ -111,7 +114,7 @@ static DWORD MSVCRT_nested_handler(PEXCEPTION_RECORD rec, /********************************************************************* * _EH_prolog (MSVCRT.@) */ -#ifdef __i386__ + /* Provided for VC++ binary compatibility only */ __ASM_GLOBAL_FUNC(_EH_prolog, "pushl $-1\n\t" @@ -251,7 +254,7 @@ int CDECL _except_handler3(PEXCEPTION_RECORD rec, } } #else - FIXME("exception %lx flags=%lx at %p handler=%p %p %p stub\n", + FIXME("exception %x flags=%x at %p handler=%p %p %p stub\n", rec->ExceptionCode, rec->ExceptionFlags, rec->ExceptionAddress, frame->handler, context, dispatcher); #endif -- 2.33.8