diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 16:50:28 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 16:50:28 -0400 |
commit | d063d164335938d557460bebaa7cfe388157b627 (patch) | |
tree | 92ef3f54771c0a28190b76ee45f90d16fd39714f /include/errno.h | |
parent | 3ce1f2959437e952b9db4eaeed2407424f11a4d1 (diff) | |
download | glibc-d063d164335938d557460bebaa7cfe388157b627.tar.gz |
Remove support for !USE___THREAD
Diffstat (limited to 'include/errno.h')
-rw-r--r-- | include/errno.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/errno.h b/include/errno.h index 80c7b6ec13..98c6080528 100644 --- a/include/errno.h +++ b/include/errno.h @@ -21,15 +21,13 @@ extern int rtld_errno attribute_hidden; # include <tls.h> -# if USE___THREAD -# undef errno -# ifndef NOT_IN_libc -# define errno __libc_errno -# else -# define errno errno /* For #ifndef errno tests. */ -# endif -extern __thread int errno attribute_tls_model_ie; +# undef errno +# ifndef NOT_IN_libc +# define errno __libc_errno +# else +# define errno errno /* For #ifndef errno tests. */ # endif +extern __thread int errno attribute_tls_model_ie; # endif /* RTLD_PRIVATE_ERRNO */ |