aboutsummaryrefslogtreecommitdiff
path: root/intl/localealias.c
diff options
context:
space:
mode:
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 78a704f..0c35b7a 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