summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-18 23:33:19 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:28 +0200
commit33d1d05a5d4a53da6386f84bbe5559e3284ac55a (patch)
tree806ee351debf268f999c07d309e339dcef95b1ea /include
parent464ec424e697f01f16a3672263345b3363657dbc (diff)
libc-internal.h: provide dummy attribute_tls_model_ie and __thread for non TLS builds
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-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__ */