diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/errno.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h index 934dae791a..e9add9196a 100644 --- a/include/errno.h +++ b/include/errno.h @@ -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; |