From 32c075e1f01849e161724bbd400ba77244e482cc Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 31 Jul 2007 13:33:18 +0000 Subject: . --- elf/tst-tlsmod13.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elf/tst-tlsmod13.c') diff --git a/elf/tst-tlsmod13.c b/elf/tst-tlsmod13.c index e4e23af2d8..beca89f6fe 100644 --- a/elf/tst-tlsmod13.c +++ b/elf/tst-tlsmod13.c @@ -1,6 +1,7 @@ #include -#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE +#if defined USE_TLS && defined HAVE___THREAD \ + && defined HAVE_TLS_MODEL_ATTRIBUTE __thread int a[2] __attribute__ ((tls_model ("initial-exec"))); #else int a[2]; -- cgit v1.2.3