Fix classic_locale for Android.
Android's classic_locale begins at _ctype_ + 1. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@213672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cb8757aca7
commit
cc160f5c15
@ -1038,7 +1038,7 @@ ctype<char>::classic_table() _NOEXCEPT
|
||||
#elif defined(_AIX)
|
||||
return (const unsigned int *)__lc_ctype_ptr->obj->mask;
|
||||
#elif defined(__ANDROID__)
|
||||
return _ctype_;
|
||||
return _ctype_ + 1;
|
||||
#else
|
||||
// Platform not supported: abort so the person doing the port knows what to
|
||||
// fix
|
||||
|
Loading…
x
Reference in New Issue
Block a user