Diff of /context.h [eeef42] .. [35dec5] Maximize Restore

  Switch to side-by-side view

--- a/context.h
+++ b/context.h
@@ -47,7 +47,7 @@
 #define PTW32_PROGCTR(Context)  ((Context).StIIP)
 #endif
 
-#if defined(_MIPS_)
+#if defined(_MIPS_) || defined(MIPS)
 #define PTW32_PROGCTR(Context)  ((Context).Fir)
 #endif
 
@@ -63,6 +63,10 @@
 #define PTW32_PROGCTR(Context)  ((Context).Rip)
 #endif
 
+#if defined(_ARM_) || defined(ARM)
+#define PTW32_PROGCTR(Context)  ((Context).Pc)
+#endif
+
 #if !defined(PTW32_PROGCTR)
 #error Module contains CPU-specific code; modify and recompile.
 #endif