Commit adad9b66 authored by Alexandre Julliard's avatar Alexandre Julliard

msvcrt: Fix an unused function warning on non-i386.

parent a46441bd
...@@ -96,6 +96,9 @@ static inline int call_unwind_func( int (*func)(void), void *ebp ) ...@@ -96,6 +96,9 @@ static inline int call_unwind_func( int (*func)(void), void *ebp )
#endif #endif
#ifdef __i386__
static DWORD MSVCRT_nested_handler(PEXCEPTION_RECORD rec, static DWORD MSVCRT_nested_handler(PEXCEPTION_RECORD rec,
EXCEPTION_REGISTRATION_RECORD* frame, EXCEPTION_REGISTRATION_RECORD* frame,
PCONTEXT context, PCONTEXT context,
...@@ -111,7 +114,7 @@ static DWORD MSVCRT_nested_handler(PEXCEPTION_RECORD rec, ...@@ -111,7 +114,7 @@ static DWORD MSVCRT_nested_handler(PEXCEPTION_RECORD rec,
/********************************************************************* /*********************************************************************
* _EH_prolog (MSVCRT.@) * _EH_prolog (MSVCRT.@)
*/ */
#ifdef __i386__
/* Provided for VC++ binary compatibility only */ /* Provided for VC++ binary compatibility only */
__ASM_GLOBAL_FUNC(_EH_prolog, __ASM_GLOBAL_FUNC(_EH_prolog,
"pushl $-1\n\t" "pushl $-1\n\t"
...@@ -251,7 +254,7 @@ int CDECL _except_handler3(PEXCEPTION_RECORD rec, ...@@ -251,7 +254,7 @@ int CDECL _except_handler3(PEXCEPTION_RECORD rec,
} }
} }
#else #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, rec->ExceptionCode, rec->ExceptionFlags, rec->ExceptionAddress,
frame->handler, context, dispatcher); frame->handler, context, dispatcher);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment