OSDN Git Service

test: Fix math .c dependency
[uclinux-h8/uClibc.git] / include / netdb.h
index 14cf3d2..8fdfa0f 100644 (file)
@@ -59,7 +59,7 @@ __BEGIN_DECLS
 /* Function to get address of global `h_errno' variable.  */
 extern int *__h_errno_location (void) __THROW __attribute__ ((__const__));
 #ifdef _LIBC
-# ifndef __UCLIBC_HAS_TLS__
+# if !defined(__UCLIBC_HAS_TLS__) && !defined(__UCLIBC_HAS_THREADS__)
 extern int weak_const_function *__h_errno_location(void);
 # endif
 #endif