Skip to content

Commit b60db80

Browse files
committed
bionic libc does now support wide characters.
1 parent 6428000 commit b60db80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eval_intern.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ VALUE rb_vm_cbase(void);
216216
void rb_trap_restore_mask(void);
217217

218218
#ifndef CharNext /* defined as CharNext[AW] on Windows. */
219-
#define CharNext(p) ((p) + mblen((p), RUBY_MBCHAR_MAXSIZE))
219+
#define CharNext(p) ((p) + 1)
220220
#endif
221221

222222
#if defined DOSISH || defined __CYGWIN__

0 commit comments

Comments
 (0)