summaryrefslogtreecommitdiff
path: root/ext/nkf/nkf-utf8
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-29 08:05:13 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-29 08:05:13 +0000
commitecf017a9a02b8d1f3af50a7191f0d95a79c2b863 (patch)
tree3dd3598522e8814b8e11f4cd54b25fbfd785f9ac /ext/nkf/nkf-utf8
parentfb5d3a0afc1e6d78f83e54f25f6841883504c5f0 (diff)
* ext/nkf/nkf-utf8/nkf.h: Bionic libc doesn't have locale.
[Feature #8338] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/nkf/nkf-utf8')
-rw-r--r--ext/nkf/nkf-utf8/nkf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/nkf/nkf-utf8/nkf.h b/ext/nkf/nkf-utf8/nkf.h
index c174c9a..6e1c8d3 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