* include/errno.h: Use errno definition with __thread for now only
	in libc and ld.so.
This commit is contained in:
Ulrich Drepper 2002-09-06 09:35:02 +00:00
parent 452a71dcf7
commit e470bcadf1
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-09-06 Ulrich Drepper <drepper@redhat.com>
* include/errno.h: Use errno definition with __thread for now only
in libc and ld.so.
* test-skeleton.c (main): Improve error message for unexpected
signal case.

View File

@ -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;