diff options
Diffstat (limited to 'libc/include/errno.h')
-rw-r--r-- | libc/include/errno.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/errno.h b/libc/include/errno.h index 98c608052..f1b93a881 100644 --- a/libc/include/errno.h +++ b/libc/include/errno.h @@ -17,7 +17,7 @@ # define errno rtld_errno extern int rtld_errno attribute_hidden; -# else +# elif !defined NOT_IN_libc || defined IN_LIB # include <tls.h> @@ -29,7 +29,7 @@ extern int rtld_errno attribute_hidden; # endif extern __thread int errno attribute_tls_model_ie; -# endif /* RTLD_PRIVATE_ERRNO */ +# endif /* !NOT_IN_libc || IN_LIB */ # define __set_errno(val) (errno = (val)) |