From 32c075e1f01849e161724bbd400ba77244e482cc Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 31 Jul 2007 13:33:18 +0000 Subject: . --- elf/tst-tls-dlinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'elf/tst-tls-dlinfo.c') diff --git a/elf/tst-tls-dlinfo.c b/elf/tst-tls-dlinfo.c index 26c2811178..e97b5081fd 100644 --- a/elf/tst-tls-dlinfo.c +++ b/elf/tst-tls-dlinfo.c @@ -9,6 +9,7 @@ static int do_test (void) { +#ifdef USE_TLS static const char modname[] = "tst-tlsmod2.so"; int result = 0; int *foop; @@ -82,6 +83,9 @@ do_test (void) dlclose (h); return result; +#else + return 0; +#endif } -- cgit v1.2.3