diff options
Diffstat (limited to 'arch/nt32/pthread_arch.h')
-rw-r--r-- | arch/nt32/pthread_arch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/nt32/pthread_arch.h b/arch/nt32/pthread_arch.h index f779af4..4d156b2 100644 --- a/arch/nt32/pthread_arch.h +++ b/arch/nt32/pthread_arch.h @@ -60,7 +60,11 @@ static inline struct pthread ** __psx_tlca(void) } +#ifdef __MUSL_PRE___GET_TP static inline struct pthread * __pthread_self(void) +#else +static inline struct pthread * __get_tp(void) +#endif { struct pthread ** ptlca; |