* src/threads/threads-common.c (threads_preinit): Fixed compiler
authortwisti <none@none>
Tue, 7 Aug 2007 08:26:38 +0000 (08:26 +0000)
committertwisti <none@none>
Tue, 7 Aug 2007 08:26:38 +0000 (08:26 +0000)
warning.

src/threads/threads-common.c

index 1282fafbce0fcae6957b1718b2297c8f8978036c..8efa34cf5a37b99e4d5a3a0d860670893bab7d7b 100644 (file)
@@ -22,7 +22,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: threads-common.c 8132 2007-06-22 11:15:47Z twisti $
+   $Id: threads-common.c 8266 2007-08-07 08:26:38Z twisti $
 
 */
 
@@ -94,7 +94,7 @@ bool threads_pthreads_implementation_nptl;
 void threads_preinit(void)
 {
        threadobject *mainthread;
-#if defined(__LINUX__)
+#if defined(__LINUX__) && defined(_CS_GNU_LIBPTHREAD_VERSION)
        char         *pathbuf;
        size_t        len;
 #endif