summaryrefslogtreecommitdiff
path: root/pthread_cancel.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread_cancel.c')
-rw-r--r--pthread_cancel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pthread_cancel.c b/pthread_cancel.c
index 971edc8..1118977 100644
--- a/pthread_cancel.c
+++ b/pthread_cancel.c
@@ -41,6 +41,10 @@
#define PTW32_PROGCTR(Context) ((Context).Eip)
#endif
+#if defined (_M_IA64)
+#define PTW32_PROGCTR(Context) ((Context).StIIP)
+#endif
+
#if defined(_MIPS_)
#define PTW32_PROGCTR(Context) ((Context).Fir)
#endif