Pedro,

Is this acceptable ?

        Danny

dannypc: {242} svn diff src/mingw/include/excpt.h
Index: src/mingw/include/excpt.h
===================================================================
--- src/mingw/include/excpt.h   (revision 1130)
+++ src/mingw/include/excpt.h   (working copy)
@@ -101,4 +101,22 @@
 
 #endif /* Not RC_INVOKED */
 
+#if defined(__MINGW32CE__)
+/*
+ * Inherited from newlib's libc/sys/wince, this happens to match the
+ * w32api include/excpt.h definition.
+ *
+ * Required to write decente exception handlers.
+ *
+ * Note that this definition is known to work for ARM,
+ * and that MSDN documents another definition for 64-bit CPU's,
+ */
+typedef struct _DISPATCHER_CONTEXT {
+       unsigned long ControlPc;
+       struct _RUNTIME_FUNCTION *FunctionEntry;
+       unsigned long EstablisherFrame;
+       CONTEXT *ContextRecord;
+} DISPATCHER_CONTEXT, *PDISPATCHER_CONTEXT;
+
+#endif
 #endif /* _EXCPT_H_ not defined */
dannypc: {243} 
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to