diff options
author | midipix <writeonce@midipix.org> | 2019-01-07 10:34:57 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-01-09 22:43:17 -0500 |
commit | f6a55938d8b3f371fabf88a7e00aeea22b08b0e3 (patch) | |
tree | f1b0596f6f32df792119f1a0c46097d49e30f64d /arch | |
parent | 7be6942d602e744ee10d22c04f1c673454ce7c00 (diff) | |
download | mmglue-f6a55938d8b3f371fabf88a7e00aeea22b08b0e3.tar.bz2 mmglue-f6a55938d8b3f371fabf88a7e00aeea22b08b0e3.tar.xz |
mmglue: pthread_arch: support of modern musl versions: defined MC_PC.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/nt32/pthread_arch.h | 1 | ||||
-rw-r--r-- | arch/nt64/pthread_arch.h | 1 |
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; |