summaryrefslogtreecommitdiff
path: root/intl/localealias.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-01 19:35:00 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-01 19:35:00 +0000
commit628a0aa1523e7160dac986d7988fcc08375cfd88 (patch)
treea69799810ae1c679709deed767709e944d15c45c /intl/localealias.c
parentf9ded616b20aa0e48eaee5e2799d84f71feeb640 (diff)
Update.
1998-11-29 1998 H.J. Lu <hjl@gnu.org> * libio/genops.c (_IO_unbuffer_write): Renamed from _IO_unbuffer_all. (_IO_cleanup): Call _IO_unbuffer_write instead of _IO_unbuffer_all. 1998-12-01 Ulrich Drepper <drepper@cygnus.com> * intl/localealias.c: Use *_unlocked version of stdio function if _LIBC_REENTRANT is defined, not _LIBC. 1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * include/grp.h: Add prototypes for internal functions __getgrgid_r and __getgrnam_r. * inet/herrno.c: Include <netdb.h> for prototype, undef h_errno. * resolv/nsap_addr.c: Include <arpa/inet.h> for inet_nsap_addr and inet_nsap_ntoa prototypes. * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Pass -I option to gcc to have it find the correct system header. Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>. Reported by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index 78a704f185..0c35b7a551 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -133,11 +133,11 @@ struct block_list
# define alloca(size) (malloc (size))
#endif /* have alloca */
-#if defined _LIBC || defined HAVE_FGETS_UNLOCKED
+#if defined _LIBC_REENTRANT || defined HAVE_FGETS_UNLOCKED
# undef fgets
# define fgets(buf, len, s) fgets_unlocked (buf, len, s)
#endif
-#if defined _LIBC || defined HAVE_FEOF_UNLOCKED
+#if defined _LIBC_REENTRANT || defined HAVE_FEOF_UNLOCKED
# undef feof
# define feof(s) feof_unlocked (s)
#endif