summaryrefslogtreecommitdiff
path: root/elf/tst-tls10.h
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tls10.h')
-rw-r--r--elf/tst-tls10.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/tst-tls10.h b/elf/tst-tls10.h
index bffc332a0a..1be6adc293 100644
--- a/elf/tst-tls10.h
+++ b/elf/tst-tls10.h
@@ -1,7 +1,8 @@
#include <tls.h>
#include <stdlib.h>
-#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
+#if defined USE_TLS && defined HAVE___THREAD \
+ && defined HAVE_TLS_MODEL_ATTRIBUTE
# define USE_TLS__THREAD
struct A