summaryrefslogtreecommitdiffhomepage
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/nt32/pthread_arch.h4
-rw-r--r--arch/nt64/pthread_arch.h4
2 files changed, 8 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;
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;