msvcrt: Fix an unused function warning on non-i386.
authorAlexandre Julliard <julliard@winehq.org>
Thu, 8 Jan 2009 16:29:59 +0000 (17:29 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 8 Jan 2009 16:29:59 +0000 (17:29 +0100)
dlls/msvcrt/except.c

index 7c4ee4737485497ae987b1ce125f909ba0a87adf..9b254f858a7955ce3504727da6ff84687590d43b 100644 (file)
@@ -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