mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-13 19:21:36 +03:00
Update.
* include/errno.h: Use errno definition with __thread for now only in libc and ld.so.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user