svn commit: trunk/uClibc/libpthread/linuxthreads/sysdeps/i386

kraj at uclibc.org kraj at uclibc.org
Tue May 15 00:35:01 UTC 2007


Author: kraj
Date: 2007-05-14 17:35:00 -0700 (Mon, 14 May 2007)
New Revision: 18615

Log:
Remove preprocessor warning due to missing definition of USE_TLS


Modified:
   trunk/uClibc/libpthread/linuxthreads/sysdeps/i386/useldt.h


Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads/sysdeps/i386/useldt.h
===================================================================
--- trunk/uClibc/libpthread/linuxthreads/sysdeps/i386/useldt.h	2007-05-14 22:09:52 UTC (rev 18614)
+++ trunk/uClibc/libpthread/linuxthreads/sysdeps/i386/useldt.h	2007-05-15 00:35:00 UTC (rev 18615)
@@ -87,7 +87,7 @@
    because we inherited the value set up in the main thread by TLS setup.
    We need to extract that value and set up the same segment in this
    thread.  */
-#if USE_TLS
+#if defined (USE_TLS) && USE_TLS
 # define DO_SET_THREAD_AREA_REUSE(nr)	1
 #else
 /* Without TLS, we do the initialization of the main thread, where NR == 0.  */




More information about the uClibc-cvs mailing list