OSDN Git Service

Add bionic libc's case
[nkf/nkf.git] / nkf.h
diff --git a/nkf.h b/nkf.h
index cbe5f56..af44320 100755 (executable)
--- a/nkf.h
+++ b/nkf.h
@@ -152,6 +152,7 @@ void  setbinmode(FILE *fp)
 # ifndef HAVE_LOCALE_H
 #  define HAVE_LOCALE_H
 # endif
+#elif defined(__BIONIC__) /* bionic doesn't have locale */
 #else
 # ifndef HAVE_LANGINFO_H
 #  define HAVE_LANGINFO_H