diff options
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 80c7b6e..98c6080 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 */ |