summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc/rpc_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/rpc_thread.c')
-rw-r--r--libc/inet/rpc/rpc_thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/rpc/rpc_thread.c b/libc/inet/rpc/rpc_thread.c
index be820599b..e3a1c40b2 100644
--- a/libc/inet/rpc/rpc_thread.c
+++ b/libc/inet/rpc/rpc_thread.c
@@ -9,7 +9,7 @@
/* Variable used in non-threaded applications or for the first thread. */
static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem;
-#ifdef __PTHREADS_NATIVE__
+#ifdef __UCLIBC_HAS_THREADS_NATIVE__
static struct rpc_thread_variables *__libc_tsd_RPC_VARS =
&__libc_tsd_RPC_VARS_mem;
#else
@@ -82,7 +82,7 @@ __rpc_thread_variables (void)
if (tvp != NULL)
__libc_tsd_set (RPC_VARS, tvp);
else
-#ifdef __PTHREADS_NATIVE__
+#ifdef __UCLIBC_HAS_THREADS_NATIVE__
tvp = __libc_tsd_RPC_VARS;
#else
tvp = __libc_tsd_RPC_VARS_data;