mirror of
https://sourceware.org/git/glibc.git
synced 2025-05-05 20:19:19 +03:00
Update.
* include/errno.h: Use errno definition with __thread for now only in libc and ld.so.
This commit is contained in:
parent
452a71dcf7
commit
e470bcadf1
@ -1,5 +1,8 @@
|
|||||||
2002-09-06 Ulrich Drepper <drepper@redhat.com>
|
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
|
* test-skeleton.c (main): Improve error message for unexpected
|
||||||
signal case.
|
signal case.
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
# include <tls.h> /* Defines USE_TLS. */
|
# 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
|
# undef errno
|
||||||
# define errno errno /* For #ifndef errno tests. */
|
# define errno errno /* For #ifndef errno tests. */
|
||||||
extern __thread int errno;
|
extern __thread int errno;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user