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:
Dan Albert 2014-07-22 17:32:56 +00:00
parent cb8757aca7
commit cc160f5c15

View File

@ -1038,7 +1038,7 @@ ctype<char>::classic_table() _NOEXCEPT
#elif defined(_AIX) #elif defined(_AIX)
return (const unsigned int *)__lc_ctype_ptr->obj->mask; return (const unsigned int *)__lc_ctype_ptr->obj->mask;
#elif defined(__ANDROID__) #elif defined(__ANDROID__)
return _ctype_; return _ctype_ + 1;
#else #else
// Platform not supported: abort so the person doing the port knows what to // Platform not supported: abort so the person doing the port knows what to
// fix // fix