]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-tls6.c
.
[thirdparty/glibc.git] / elf / tst-tls6.c
index 021622d9c7cee6d2d080268694b1372960fb1fe3..68d706538f4573d1d83408d7da3613a2d240ae74 100644 (file)
@@ -10,6 +10,7 @@
 static int
 do_test (void)
 {
+#ifdef USE_TLS
   static const char modname[] = "tst-tlsmod2.so";
   int result = 0;
   int *foop;
@@ -80,6 +81,9 @@ do_test (void)
     }
 
   return result;
+#else
+  return 0;
+#endif
 }