commit | 6f0342cf2e4802f6d7948e1c5f59c41b4e25789e | [log] [tgz] |
---|---|---|
author | Sean Hunt <scshunt@csclub.uwaterloo.ca> | Sat Jul 09 03:40:04 2011 +0000 |
committer | Sean Hunt <scshunt@csclub.uwaterloo.ca> | Sat Jul 09 03:40:04 2011 +0000 |
tree | 0f6b96e78fb7b05481f416b3a8ab5ec81a1d33be | |
parent | e59f724f79c5388d6b0a7794fd6d610783bec62d [diff] [blame] |
Don't assume that wctype produces a nice mask on all platforms. On glibc, for instance, it's a const char *. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@134787 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/__config b/include/__config index 239f0a2..a5afbca 100644 --- a/include/__config +++ b/include/__config
@@ -289,4 +289,8 @@ #define _LIBCPP_STABLE_APPLE_ABI #endif +#ifdef __APPLE__ +#define _LIBCPP_WCTYPE_IS_MASK +#endif + #endif // _LIBCPP_CONFIG