summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormirabilos <m@mirbsd.org>2017-01-29 14:22:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-01 17:49:03 +0100
commitdc79afc0facb5de24d63fbaba6a345222a86d0d5 (patch)
treec66dc513afe1d37703167cd291243fb70968fafa /include
parentdba942c80dc2cfa5768a856fff98e22a755fdd27 (diff)
g/c __libc_errno
Signed-off-by: mirabilos <m@mirbsd.org> Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'include')
-rw-r--r--include/errno.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/errno.h b/include/errno.h
index 4e3a81689..380a0b773 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -70,11 +70,7 @@ extern int _dl_errno; /* attribute_hidden */
#elif defined __UCLIBC_HAS_TLS__
# if !defined NOT_IN_libc || defined IS_IN_libpthread
# 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
#endif