summaryrefslogtreecommitdiffstats
path: root/libc/inet/resolv.c
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-31 12:03:40 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-07-31 12:03:40 +0000
commitee9b77a228c7751914b0d43df9896cb98eb26a03 (patch)
tree45bd7ae4eeaaa0a2b358f157531d74e5027ba26f /libc/inet/resolv.c
parentc606ccf2829277fa425f68c5df1e4b5f33e88298 (diff)
downloaduClibc-alpine-ee9b77a228c7751914b0d43df9896cb98eb26a03.tar.bz2
uClibc-alpine-ee9b77a228c7751914b0d43df9896cb98eb26a03.tar.xz
Fix preprocessor directive to silent warning
Diffstat (limited to 'libc/inet/resolv.c')
-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;