diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-07-31 13:33:18 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-07-31 13:33:18 +0000 |
commit | 32c075e1f01849e161724bbd400ba77244e482cc (patch) | |
tree | 5f083a3f352104f32bb6c902d57fa3f294bd8d4d /elf/tst-tlsmod1.c | |
parent | d6220e9ee38c1c9285221b023346201ec5f511b3 (diff) | |
download | glibc-32c075e1f01849e161724bbd400ba77244e482cc.tar.gz |
.
Diffstat (limited to 'elf/tst-tlsmod1.c')
-rw-r--r-- | elf/tst-tlsmod1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/tst-tlsmod1.c b/elf/tst-tlsmod1.c index 4d966c9472..c74a617b77 100644 --- a/elf/tst-tlsmod1.c +++ b/elf/tst-tlsmod1.c @@ -2,6 +2,7 @@ #include <tls.h> +#ifdef USE_TLS #include "tls-macros.h" @@ -9,6 +10,7 @@ COMMON_INT_DEF(foo); VAR_INT_DEF(bar); VAR_INT_DECL(baz); +#endif extern int in_dso (void); @@ -16,6 +18,7 @@ int in_dso (void) { int result = 0; +#ifdef USE_TLS int *ap, *bp, *cp; /* Get variables using initial exec model. */ @@ -59,6 +62,7 @@ in_dso (void) printf ("baz = %d\n", *cp); result = 1; } +#endif return result; } |