diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/nkf/nkf-utf8/nkf.h | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Mon Apr 29 17:02:30 2013 NARUSE, Yui <naruse@ruby-lang.org> + + * ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale. + [Feature #8338] + + Mon Apr 29 06:58:30 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/openssl/ossl_bn.c (ossl_bn_initialize): no need of alloca for diff --git a/ext/nkf/nkf-utf8/nkf.h b/ext/nkf/nkf-utf8/nkf.h index c174c9ac51..6e1c8d3eba 100644 --- a/ext/nkf/nkf-utf8/nkf.h +++ b/ext/nkf/nkf-utf8/nkf.h @@ -2,7 +2,6 @@ * * nkf.h - Header file for nkf * - * $Id$ */ #ifndef NKF_H @@ -153,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 |