summaryrefslogtreecommitdiff
path: root/intl/localealias.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-05 11:57:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-05 11:57:59 +0000
commit77ccaba1fa58f871e797ced648c2966842e477db (patch)
treefec432e9338d6956a0a9b6e5a03d330ff580bb06 /intl/localealias.c
parenteb27c43f02ec7890c19f424de458df903745db5d (diff)
Update.
1998-07-05 11:54 Ulrich Drepper <drepper@cygnus.com> * Versions: Add pthread_attr_init ti GLIBC_2.1 version in libc.
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index 45c16c6e53..01fbe04f2e 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -131,6 +131,15 @@ struct block_list
# define alloca(size) (malloc (size))
#endif /* have alloca */
+#if defined _LIBC || defined HAVE_FGETS_UNLOCKED
+# undef fgets
+# define fgets(buf, len, s) fgets_unlocked (buf, len, s)
+#endif
+#if defined _LIBC || defined HAVE_FEOF_UNLOCKED
+# undef feof
+# define feof(s) feof_unlocked (s)
+#endif
+
struct alias_map
{