summaryrefslogtreecommitdiffhomepage
path: root/arch/nt64/pthread_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nt64/pthread_arch.h')
-rw-r--r--arch/nt64/pthread_arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/nt64/pthread_arch.h b/arch/nt64/pthread_arch.h
index 05188f3..c99da3a 100644
--- a/arch/nt64/pthread_arch.h
+++ b/arch/nt64/pthread_arch.h
@@ -62,7 +62,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;