diff options
| author | Dan Albert <danalbert@google.com> | 2014-07-22 17:32:56 +0000 |
|---|---|---|
| committer | Dan Albert <danalbert@google.com> | 2014-07-22 17:32:56 +0000 |
| commit | 4339903c94927e33ab7b2804f0a6cae0687dc75a (patch) | |
| tree | 2e17f3d4711aa58e455d56700092ce87517c682c /libcxx | |
| parent | e2b218665221ca4d37dabb4204ddb2b3acfb4c4d (diff) | |
| download | bcm5719-llvm-4339903c94927e33ab7b2804f0a6cae0687dc75a.tar.gz bcm5719-llvm-4339903c94927e33ab7b2804f0a6cae0687dc75a.zip | |
Fix classic_locale for Android.
Android's classic_locale begins at _ctype_ + 1.
llvm-svn: 213672
Diffstat (limited to 'libcxx')
| -rw-r--r-- | libcxx/src/locale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index fc314ca9136..148fe42a2f7 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/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 |

