OSDN Git Service
(root)
/
splhack
/
AndroidRuby.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
configured for android
[splhack/AndroidRuby.git]
/
lib
/
ruby-1.9.1-rc1
/
ruby.c
diff --git
a/lib/ruby-1.9.1-rc1/ruby.c
b/lib/ruby-1.9.1-rc1/ruby.c
index
7a9c2c9
..
5a2a1dc
100644
(file)
--- a/
lib/ruby-1.9.1-rc1/ruby.c
+++ b/
lib/ruby-1.9.1-rc1/ruby.c
@@
-163,6
+163,10
@@
usage(const char *name)
VALUE rb_get_load_path(void);
+#ifdef __BIONIC__
+#define mblen(a,b) 1
+#endif
+
#ifndef CharNext /* defined as CharNext[AW] on Windows. */
#define CharNext(p) ((p) + mblen(p, RUBY_MBCHAR_MAXSIZE))
#endif