diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2013-08-29 23:37:50 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2013-08-29 23:37:50 +0000 |
| commit | 976241362128b4e33fbf3b36a91acb6309edb205 (patch) | |
| tree | bb5a20691c18ffcad156f9df09b8f83435d7517a /libcxx/include | |
| parent | e0064d8c246afc2b158fd714c5bdb68b4d2b1804 (diff) | |
| download | bcm5719-llvm-976241362128b4e33fbf3b36a91acb6309edb205.tar.gz bcm5719-llvm-976241362128b4e33fbf3b36a91acb6309edb205.zip | |
Xing Xue: Some minor changes for IBM XLC++/AIX.
llvm-svn: 189623
Diffstat (limited to 'libcxx/include')
| -rw-r--r-- | libcxx/include/__locale | 2 | ||||
| -rw-r--r-- | libcxx/include/support/ibm/xlocale.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/libcxx/include/__locale b/libcxx/include/__locale index 2c144d20585..2390768ccca 100644 --- a/libcxx/include/__locale +++ b/libcxx/include/__locale @@ -363,7 +363,7 @@ public: # else static const mask blank = _CTYPE_B; # endif -#elif defined(__sun__) +#elif defined(__sun__) && defined(_AIX) typedef unsigned int mask; static const mask space = _ISSPACE; static const mask print = _ISPRINT; diff --git a/libcxx/include/support/ibm/xlocale.h b/libcxx/include/support/ibm/xlocale.h index fa349e0d416..8d99a5c7d34 100644 --- a/libcxx/include/support/ibm/xlocale.h +++ b/libcxx/include/support/ibm/xlocale.h @@ -263,8 +263,6 @@ size_t wcsxfrm_l(wchar_t *__ws1, const wchar_t *__ws2, size_t __n, } #endif // !defined(_AIX71) -locale_t cloc(void); - // strftime_l() is defined by POSIX. However, AIX 7.1 does not have it // implemented yet. static inline |

