aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tls14.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-07-28 21:50:26 +0000
committerRoland McGrath <roland@gnu.org>2003-07-28 21:50:26 +0000
commit23195635ae74449727f8c07469b347bf884a37fa (patch)
treed28e40206ffbbdca68592d09e88824a9653b4861 /elf/tst-tls14.c
parentcbb91e21b41fd79950512674de7c76fd24562764 (diff)
downloadglibc-23195635ae74449727f8c07469b347bf884a37fa.tar
glibc-23195635ae74449727f8c07469b347bf884a37fa.tar.gz
glibc-23195635ae74449727f8c07469b347bf884a37fa.tar.bz2
glibc-23195635ae74449727f8c07469b347bf884a37fa.zip
* elf/tst-tls14.c [USE_TLS && HAVE___THREAD]: Conditionalize on this.
* elf/tst-tlsmod14a.c: Likewise. * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <linux/compiler.h> before <linux/sysctl.h>.
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 4ae367a38f..428fd5293e 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"