Don't build stack-based WINE exception handling on ARM -- we have .pdata
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Sat, 11 Jul 2009 13:11:44 +0000 (13:11 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Sat, 11 Jul 2009 13:11:44 +0000 (13:11 +0000)
svn path=/trunk/; revision=41881

reactos/lib/sdk/crt/include/internal/wine/cppexcept.h

index 2cead03..426fb60 100644 (file)
@@ -52,6 +52,7 @@
 #define EH_STACK_INVALID    0x08
 #define EH_NESTED_CALL      0x10
 
+#ifndef _M_ARM
 static inline EXCEPTION_REGISTRATION_RECORD *__wine_push_frame( EXCEPTION_REGISTRATION_RECORD *frame )
 {
     frame->Next = (struct _EXCEPTION_REGISTRATION_RECORD *)__readfsdword(0);
@@ -64,6 +65,7 @@ static inline EXCEPTION_REGISTRATION_RECORD *__wine_pop_frame( EXCEPTION_REGISTR
        __writefsdword(0, (unsigned long)frame->Next);
     return frame->Next;
 }
+#endif
 
 #define __TRY _SEH2_TRY
 #define __EXCEPT(func) _SEH2_EXCEPT(func(_SEH2_GetExceptionInformation()))