summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/i386/useldt.h
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2007-05-15 00:35:00 +0000
committerKhem Raj <kraj@mvista.com>2007-05-15 00:35:00 +0000
commit4bad09584733d17678511f5f8fa392a671f61ece (patch)
treeef8da286f98bc560af700336e5ac2995fd39d283 /libpthread/linuxthreads/sysdeps/i386/useldt.h
parent420745afd47f7291f5f3f28d0ff68d58245d1105 (diff)
Remove preprocessor warning due to missing definition of USE_TLS
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/i386/useldt.h')
-rw-r--r--libpthread/linuxthreads/sysdeps/i386/useldt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/sysdeps/i386/useldt.h b/libpthread/linuxthreads/sysdeps/i386/useldt.h
index a2eb53fed..fa9a2a528 100644
--- a/libpthread/linuxthreads/sysdeps/i386/useldt.h
+++ b/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.
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. */