diff options
| author | Alexis Hunt <alercah@gmail.com> | 2011-07-09 03:40:04 +0000 |
|---|---|---|
| committer | Alexis Hunt <alercah@gmail.com> | 2011-07-09 03:40:04 +0000 |
| commit | 0081892d335b22f2d3b0b92071f7e7fc9d0172ec (patch) | |
| tree | 3b8cecab889cae61ba2956c7f177da0ac26283d6 /libcxx/include | |
| parent | 7eb661e6368ed048ce2bac4488b64b1523f08ad5 (diff) | |
| download | bcm5719-llvm-0081892d335b22f2d3b0b92071f7e7fc9d0172ec.tar.gz bcm5719-llvm-0081892d335b22f2d3b0b92071f7e7fc9d0172ec.zip | |
Don't assume that wctype produces a nice mask on all platforms. On
glibc, for instance, it's a const char *.
llvm-svn: 134787
Diffstat (limited to 'libcxx/include')
| -rw-r--r-- | libcxx/include/__config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 239f0a22ce4..a5afbcad797 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -289,4 +289,8 @@ template <unsigned> struct __static_assert_check {}; #define _LIBCPP_STABLE_APPLE_ABI #endif +#ifdef __APPLE__ +#define _LIBCPP_WCTYPE_IS_MASK +#endif + #endif // _LIBCPP_CONFIG |

