diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-09-28 23:39:33 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-09-28 23:39:33 +0000 |
commit | 9978e3709f9a9d16e77480fd60fce29beda728ff (patch) | |
tree | 0399e4f47083c97f729e1cef450e854ad8030495 /libcxx/include/__locale | |
parent | 8156376aa9d750f3db534b82ab15a4b3f02ef16c (diff) | |
download | bcm5719-llvm-9978e3709f9a9d16e77480fd60fce29beda728ff.tar.gz bcm5719-llvm-9978e3709f9a9d16e77480fd60fce29beda728ff.zip |
Attempted locale refactoring. _LIBCPP_LOCALE__L_EXTENSIONS now should be defined if one has all of the xxx_l() functions. I've defined this for apple, freebsd and win32. _LIBCPP_HAS_DEFAULTRUNELOCALE should be defined if there is a _DefaultRuneLocale. I've defined this for apple and freebsd. The block of code we're trying to migrate away from is now under #ifdef __linux__. I've tested only on OS X. I hope I haven't broken things too badly elsewhere. Please let me know.
llvm-svn: 140734
Diffstat (limited to 'libcxx/include/__locale')
-rw-r--r-- | libcxx/include/__locale | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/__locale b/libcxx/include/__locale index 42c9c5ae7f1..fb0eb8fdeb1 100644 --- a/libcxx/include/__locale +++ b/libcxx/include/__locale @@ -557,7 +557,7 @@ public: #endif _LIBCPP_ALWAYS_INLINE const mask* table() const _NOEXCEPT {return __tab_;} static const mask* classic_table() _NOEXCEPT; -#ifndef _LIBCPP_STABLE_APPLE_ABI +#ifndef _LIBCPP_HAS_DEFAULTRUNELOCALE static const int* __classic_upper_table() _NOEXCEPT; static const int* __classic_lower_table() _NOEXCEPT; #endif |