Author: ros-arm-bringup
Date: Sat Jul 11 16:32:38 2009
New Revision: 41872
URL:
http://svn.reactos.org/svn/reactos?rev=41872&view=rev
Log:
Neuter PSEH2 on ARM
Modified:
trunk/reactos/include/reactos/libs/pseh/pseh2.h
Modified: trunk/reactos/include/reactos/libs/pseh/pseh2.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/pseh/…
==============================================================================
--- trunk/reactos/include/reactos/libs/pseh/pseh2.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/libs/pseh/pseh2.h [iso-8859-1] Sat Jul 11 16:32:38 2009
@@ -22,6 +22,8 @@
#ifndef KJK_PSEH2_H_
#define KJK_PSEH2_H_
+
+#if !defined (__arm__)
#if defined(__GNUC__)
struct _EXCEPTION_RECORD;
@@ -421,4 +423,20 @@
#endif
+#else
+
+#define _SEH2_TRY {
+#define _SEH2_FINALLY } {
+#define _SEH2_EXCEPT(...) } if (0 && __VA_ARGS__) {
+#define _SEH2_END }
+
+#define _SEH2_GetExceptionInformation()
+#define _SEH2_GetExceptionCode() STATUS_SUCCESS
+#define _SEH2_AbnormalTermination()
+
+#define _SEH2_YIELD(STMT_) STMT_
+#define _SEH2_LEAVE
+
+#endif
+
/* EOF */