summaryrefslogtreecommitdiff
path: root/context.h
diff options
context:
space:
mode:
authorrpj <rpj>2007-01-06 13:44:39 +0000
committerrpj <rpj>2007-01-06 13:44:39 +0000
commit35dec51214f692110f441cd68a94cbd264574d18 (patch)
tree1ce9711f604c6799eea806f40b22ce02574b8ae6 /context.h
parenteeef426b8399ad39dfc759352a6e7b0348a047d1 (diff)
See ChangeLog
Diffstat (limited to 'context.h')
-rw-r--r--context.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/context.h b/context.h
index 3a399ff..871aa3f 100644
--- 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