summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/create_xid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/rpc/create_xid.c')
-rw-r--r--libc/inet/rpc/create_xid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/rpc/create_xid.c b/libc/inet/rpc/create_xid.c
index c184e816d..50dc882e5 100644
--- a/libc/inet/rpc/create_xid.c
+++ b/libc/inet/rpc/create_xid.c
@@ -27,7 +27,7 @@
/* The RPC code is not threadsafe, but new code should be threadsafe. */
-#ifdef _RPC_THREAD_SAFE_ //__UCLIBC_HAS_THREADS__
+#ifdef __UCLIBC_HAS_THREADS__
#include <pthread.h>
static pthread_mutex_t createxid_lock = PTHREAD_MUTEX_INITIALIZER;
# define LOCK pthread_mutex_lock(&createxid_lock)