From e470bcadf152cdd24cf5c78d64a1bfca22bb7ffc Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Sep 2002 09:35:02 +0000 Subject: Update. * include/errno.h: Use errno definition with __thread for now only in libc and ld.so. --- include/errno.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 /* 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; -- cgit v1.2.3