aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tls14.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tls14.c')
-rw-r--r--elf/tst-tls14.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/elf/tst-tls14.c b/elf/tst-tls14.c
index 4ae367a..428fd52 100644
--- a/elf/tst-tls14.c
+++ b/elf/tst-tls14.c
@@ -4,6 +4,9 @@
#include <stdio.h>
#include <stdlib.h>
+#include <tls.h>
+
+#if USE_TLS && HAVE___THREAD
#define AL 4096
struct foo
@@ -53,4 +56,11 @@ do_test (void)
}
#define TEST_FUNCTION do_test ()
+
+#else
+
+#define TEST_FUNCTION 0
+
+#endif
+
#include "../test-skeleton.c"