OSDN Git Service
(root)
/
nkf
/
nkf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff468e
)
Add bionic libc's case
author
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sun, 28 Apr 2013 03:57:47 +0000
(12:57 +0900)
committer
NARUSE, Yui
<naruse@users.sourceforge.jp>
Sun, 28 Apr 2013 03:57:47 +0000
(12:57 +0900)
bionic doesn't have locale.
https://android.googlesource.com/platform/bionic/+/android-4.2.2_r1.2/libc/README
https://bugs.ruby-lang.org/issues/8338
nkf.h
patch
|
blob
|
history
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