about summary refs log tree commit diff
path: root/resolv/Versions
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/Versions')
-rw-r--r--resolv/Versions6
1 files changed, 3 insertions, 3 deletions
diff --git a/resolv/Versions b/resolv/Versions
index 5a350cae36..7016365be5 100644
--- a/resolv/Versions
+++ b/resolv/Versions
@@ -2,7 +2,7 @@
 
 libc {
   GLIBC_2.0 {
-%if !HAVE___THREAD
+%if !(USE_TLS && HAVE___THREAD)
     # global variables
     _h_errno;
 %endif
@@ -17,7 +17,7 @@ libc {
 
     # variables in normal name space
     h_errlist; h_nerr;
-%if !HAVE___THREAD
+%if !(USE_TLS && HAVE___THREAD)
     h_errno;
 %endif
 
@@ -34,7 +34,7 @@ libc {
   GLIBC_PRIVATE {
     __gai_sigqueue;
 
-%if HAVE___THREAD
+%if USE_TLS && HAVE___THREAD
     # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
     h_errno; __resp;
 %endif