summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libc-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 74c35422b..b56068c6a 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -29,6 +29,9 @@
#ifdef __UCLIBC_HAS_TLS__
# define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
+#else
+# define attribute_tls_model_ie
+# define __thread
#endif
/* Pull in things like __attribute_used__ */