diff options
author | Dan Albert <danalbert@google.com> | 2014-07-22 17:32:56 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-07-22 10:53:34 -0700 |
commit | 73abdfe437fbb56b31ff5872d9ae38f8d9c23e5d (patch) | |
tree | c0b70d70473a7c117a55c13346d3f1ebb5462625 | |
parent | 947f2b8e66f66f3174a23face8584204c1e6204a (diff) | |
download | external_libcxx-73abdfe437fbb56b31ff5872d9ae38f8d9c23e5d.tar.gz external_libcxx-73abdfe437fbb56b31ff5872d9ae38f8d9c23e5d.tar.bz2 external_libcxx-73abdfe437fbb56b31ff5872d9ae38f8d9c23e5d.zip |
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
-rw-r--r-- | src/locale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale.cpp b/src/locale.cpp index fc314ca91..148fe42a2 100644 --- a/src/locale.cpp +++ b/src/locale.cpp @@ -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 |