diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-20 13:36:21 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-20 13:36:21 +0000 |
| commit | ea3109b772d7eb7abac01640f7c00fa1eafbd8ca (patch) | |
| tree | d57c78470a935c9185f3d378dea9fd1c4605f0dc /libc/misc/internals/errno.c | |
| parent | fedaf715da59d4aa12400936a12f3309bb8fe9b1 (diff) | |
| download | uClibc-alpine-ea3109b772d7eb7abac01640f7c00fa1eafbd8ca.tar.bz2 uClibc-alpine-ea3109b772d7eb7abac01640f7c00fa1eafbd8ca.tar.xz | |
Use __UCLIBC_HAS_TLS__ (now available) as guard for TLS related
stuff, instead of __UCLIBC_HAS_THREADS_NATIVE__.
This is in preparation on trunk merge to make TLS compatible
with LT (new) and NPTL.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/misc/internals/errno.c')
| -rw-r--r-- | libc/misc/internals/errno.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/internals/errno.c b/libc/misc/internals/errno.c index a89b5addf..e584f21f8 100644 --- a/libc/misc/internals/errno.c +++ b/libc/misc/internals/errno.c @@ -1,6 +1,6 @@ #include <features.h> -#ifdef __UCLIBC_HAS_THREADS_NATIVE__ +#ifdef __UCLIBC_HAS_TLS__ __thread int errno; __thread int h_errno; |
