summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/pthread_arch.h1
-rw-r--r--arch/nt64/pthread_arch.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/nt32/pthread_arch.h b/arch/nt32/pthread_arch.h
index d5f2553..f779af4 100644
--- a/arch/nt32/pthread_arch.h
+++ b/arch/nt32/pthread_arch.h
@@ -2,6 +2,7 @@
#define TP_ADJ(p) (p)
#define CANCEL_REG_IP 16
+#define MC_PC uc_eip
extern uintptr_t __teb_sys_idx;
extern uintptr_t __teb_libc_idx;
diff --git a/arch/nt64/pthread_arch.h b/arch/nt64/pthread_arch.h
index 5c15b69..05188f3 100644
--- a/arch/nt64/pthread_arch.h
+++ b/arch/nt64/pthread_arch.h
@@ -2,6 +2,7 @@
#define TP_ADJ(p) (p)
#define CANCEL_REG_IP 0x1F
+#define MC_PC uc_rip
extern uintptr_t __teb_sys_idx;
extern uintptr_t __teb_libc_idx;