]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-tls9.c
.
[thirdparty/glibc.git] / elf / tst-tls9.c
index 12078518fad5aa687d0b79408b2cbc668207e64e..e317696dfc348b61954a6f12d59030be9d6c4955 100644 (file)
@@ -9,6 +9,7 @@
 static int
 do_test (void)
 {
+#ifdef USE_TLS
   static const char modname1[] = "tst-tlsmod5.so";
   static const char modname2[] = "tst-tlsmod6.so";
   int result = 0;
@@ -32,6 +33,9 @@ do_test (void)
     dlclose (h2);
 
   return result;
+#else
+  return 0;
+#endif
 }