aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-08 00:45:01 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-08 00:45:01 -0500
commita0da5fe1e49b819b4d90b77915e21cddd397d064 (patch)
treee1f1c0660ab131287cfcc0f64065b946715d06b1 /locale
parenta784e502472fb3a1afa4d01a47c66b52d23e00f6 (diff)
downloadglibc-a0da5fe1e49b819b4d90b77915e21cddd397d064.zip
glibc-a0da5fe1e49b819b4d90b77915e21cddd397d064.tar.gz
glibc-a0da5fe1e49b819b4d90b77915e21cddd397d064.tar.bz2
More fallout from supporting only ELF
Diffstat (limited to 'locale')
-rw-r--r--locale/localeinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/localeinfo.h b/locale/localeinfo.h
index 6cf05b2..3c989ea 100644
--- a/locale/localeinfo.h
+++ b/locale/localeinfo.h
@@ -1,5 +1,5 @@
/* Declarations for internal libc locale interfaces
- Copyright (C) 1995-2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ Copyright (C) 1995-2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -216,7 +216,7 @@ __libc_tsd_define (extern, __locale_t, LOCALE)
unused. We can manage this playing some tricks with weak references.
But with thread-local locale settings, it becomes quite ungainly unless
we can use __thread variables. So only in that case do we attempt this. */
-#if !defined SHARED && defined HAVE_WEAK_SYMBOLS
+#ifndef SHARED
# include <tls.h>
# define NL_CURRENT_INDIRECT 1
#endif