]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - inet/herrno.c
2002-10-16 Jakub Jelinek <jakub@redhat.com>
[thirdparty/glibc.git] / inet / herrno.c
index 165762bdbac1e24c54c34ecb9b5409a76936d807..406e91ec4baafa4689488fc3c9152d462e529511 100644 (file)
@@ -27,6 +27,9 @@
 
 #if USE_TLS && HAVE___THREAD
 __thread int h_errno;
+extern __thread int __libc_h_errno __attribute__ ((alias ("h_errno")))
+  attribute_hidden;
+# define h_errno __libc_h_errno
 #else
 int h_errno = 0;
 weak_alias (h_errno, _h_errno)