summaryrefslogtreecommitdiff
path: root/libc/misc/internals
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/internals')
-rw-r--r--libc/misc/internals/errno.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c
index d9908853d..442f43f61 100644
--- a/libc/misc/internals/errno.c
+++ b/libc/misc/internals/errno.c
@@ -3,8 +3,7 @@
#undef errno
#ifdef __UCLIBC_HAS_TLS__
-__thread int errno;
-extern __thread int __libc_errno __attribute__ ((alias ("errno"))) attribute_hidden;
+__thread int errno attribute_tls_model_ie;
#else
extern int errno;
int errno = 0;