Skip to content

Commit f2c7cd2

Browse files
committed
do not assume to HAVE_LANGINFO_H on bionic libc.
1 parent d11aa24 commit f2c7cd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/nkf/nkf-utf8/nkf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void setbinmode(FILE *fp)
165165
# define HAVE_LOCALE_H
166166
# endif
167167
#else
168-
# ifndef HAVE_LANGINFO_H
168+
# if !defined(HAVE_LANGINFO_H) && !defined(__BIONIC__)
169169
# define HAVE_LANGINFO_H
170170
# endif
171171
# ifndef HAVE_LOCALE_H

0 commit comments

Comments
 (0)