Fix classic_locale for Android.

Android's classic_locale begins at _ctype_ + 1.

llvm-svn: 213672
This commit is contained in:
Dan Albert 2014-07-22 17:32:56 +00:00
parent e2b2186652
commit 4339903c94
1 changed files with 1 additions and 1 deletions

View File

@ -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