summaryrefslogtreecommitdiff
path: root/intl/bindtextdom.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-29 06:21:56 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-29 06:21:56 +0000
commit52d895a4ce96bba606fdc11619ae213a29fff4be (patch)
tree8cbfc7663e881d28ee45c6a6ae8373a7cabe33a3 /intl/bindtextdom.c
parentf0189a54434b816a53f9b0fce234fc3e88dbb8ed (diff)
downloadglibc-52d895a4ce96bba606fdc11619ae213a29fff4be.tar.gz
Update.
2000-09-18 Bruno Haible <haible@clisp.cons.org> * intl/dcigettext.c: Outside libc, use local variable names that don't clash with those in libc. * intl/bindtextdom.c: Likewise. * intl/textdomain.c: Likewise.
Diffstat (limited to 'intl/bindtextdom.c')
-rw-r--r--intl/bindtextdom.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c
index 4ea368da00..7de81c6cb5 100644
--- a/intl/bindtextdom.c
+++ b/intl/bindtextdom.c
@@ -57,6 +57,14 @@ void free ();
# define __libc_rwlock_unlock(NAME)
#endif
+/* The internal variables in the standalone libintl.a must have different
+ names than the internal variables in GNU libc, otherwise programs
+ using libintl.a cannot be linked statically. */
+#if !defined _LIBC
+# define _nl_default_dirname _nl_default_dirname__
+# define _nl_domain_bindings _nl_domain_bindings__
+#endif
+
/* @@ end of prolog @@ */
/* Contains the default location of the message catalogs. */