diff options
Diffstat (limited to 'sysdeps/generic/errno-loc.c')
-rw-r--r-- | sysdeps/generic/errno-loc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/errno-loc.c b/sysdeps/generic/errno-loc.c index 032b48306c..8332a46ad7 100644 --- a/sysdeps/generic/errno-loc.c +++ b/sysdeps/generic/errno-loc.c @@ -21,13 +21,15 @@ #include <errno.h> #include <tls.h> -#if !(USE_TLS && HAVE___THREAD) +#if ! USE___THREAD #undef errno extern int errno; #endif int * +#if ! USE___THREAD weak_const_function +#endif __errno_location (void) { return &errno; |