Browse Source

Remove preprocessor warning due to missing definition of USE_TLS

Khem Raj 18 years ago
parent
commit
4bad095847
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/linuxthreads/sysdeps/i386/useldt.h

+ 1 - 1
libpthread/linuxthreads/sysdeps/i386/useldt.h

@@ -87,7 +87,7 @@ extern int __modify_ldt (int, struct modify_ldt_ldt_s *, size_t);
    because we inherited the value set up in the main thread by TLS setup.
    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
    We need to extract that value and set up the same segment in this
    thread.  */
    thread.  */
-#if USE_TLS
+#if defined (USE_TLS) && USE_TLS
 # define DO_SET_THREAD_AREA_REUSE(nr)	1
 # define DO_SET_THREAD_AREA_REUSE(nr)	1
 #else
 #else
 /* Without TLS, we do the initialization of the main thread, where NR == 0.  */
 /* Without TLS, we do the initialization of the main thread, where NR == 0.  */