forked from OSchip/llvm-project
Fix classic_locale for Android.
Android's classic_locale begins at _ctype_ + 1. llvm-svn: 213672
This commit is contained in:
parent
e2b2186652
commit
4339903c94
|
@ -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…
Reference in New Issue