summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libc-internal.h4
-rw-r--r--include/time.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 03f17dd43..742622e13 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -126,6 +126,10 @@
# define attribute_noreturn
#endif
+#ifdef __UCLIBC_HAS_THREADS_NATIVE__
+# define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
+#endif
+
/* Pull in things like __attribute_used__ */
#include <sys/cdefs.h>
diff --git a/include/time.h b/include/time.h
index 645042777..22e6c4b58 100644
--- a/include/time.h
+++ b/include/time.h
@@ -191,9 +191,7 @@ extern double difftime (time_t __time1, time_t __time0)
__THROW __attribute__ ((__const__));
#endif /* __UCLIBC_HAS_FLOATS__ */
-#ifdef __UCLIBC_HAS_THREADS_NATIVE__
# define CLOCK_IDFIELD_SIZE 3
-#endif
/* Return the `time_t' representation of TP and normalize TP. */
extern time_t mktime (struct tm *__tp) __THROW;