about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-09-06 09:35:02 +0000
committerUlrich Drepper <drepper@redhat.com>2002-09-06 09:35:02 +0000
commite470bcadf152cdd24cf5c78d64a1bfca22bb7ffc (patch)
treed2df385d12679b8a563362300fc26ab4381c646a /include
parent452a71dcf734cac0363bdaa7966e333b83c7fc39 (diff)
downloadglibc-e470bcadf152cdd24cf5c78d64a1bfca22bb7ffc.tar.gz
glibc-e470bcadf152cdd24cf5c78d64a1bfca22bb7ffc.tar.xz
glibc-e470bcadf152cdd24cf5c78d64a1bfca22bb7ffc.zip
Update.
	* include/errno.h: Use errno definition with __thread for now only
	in libc and ld.so.
Diffstat (limited to 'include')
-rw-r--r--include/errno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h
index 934dae791a..e9add9196a 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -6,7 +6,7 @@
 
 # include <tls.h>		/* Defines USE_TLS.  */
 
-# if USE_TLS && HAVE___THREAD
+# if USE_TLS && HAVE___THREAD && (!defined NOT_IN_libc || defined IS_IN_rtld)
 #  undef  errno
 #  define errno errno		/* For #ifndef errno tests.  */
 extern __thread int errno;