summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/inet/resolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index b30d55f2c..c0299c23d 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -1186,7 +1186,7 @@ struct hostent *gethostbyname2(const char *name, int family)
#ifdef L_res_init
/* We use __resolv_lock to guard access to global '_res' */
-#ifdef USE___THREAD && USE___THREAD
+#if defined USE___THREAD && USE___THREAD
__thread
#endif
struct __res_state _res;