msvcrt: Disable __CxxLongjmpUnwind on non-i386 as it doesn't make
sense because MSVCRT___JUMP_BUFFER is unknown on non-i386.
Pierre d'Herbemont
pdherbemont at free.fr
Sat Dec 16 09:06:20 CST 2006
---
dlls/msvcrt/cppexcept.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
-------------- next part --------------
diff --git a/dlls/msvcrt/cppexcept.c b/dlls/msvcrt/cppexcept.c
index e556353..d2dc232 100644
--- a/dlls/msvcrt/cppexcept.c
+++ b/dlls/msvcrt/cppexcept.c
@@ -477,9 +477,13 @@ unsigned int CDECL __CxxQueryExceptionSize(void)
*/
void __stdcall __CxxLongjmpUnwind( const struct MSVCRT___JUMP_BUFFER *buf )
{
+#ifdef __i386__
cxx_exception_frame *frame = (cxx_exception_frame *)buf->Registration;
const cxx_function_descr *descr = (const cxx_function_descr *)buf->UnwindData[0];
TRACE( "unwinding frame %p descr %p trylevel %ld\n", frame, descr, buf->TryLevel );
cxx_local_unwind( frame, descr, buf->TryLevel );
+#else
+ FIXME( "__CxxLongjmpUnwind not implemented on non-x86 host\n" );
+#endif
}
More information about the wine-patches
mailing list