Enable __locale to work on FreeBSD.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Chisnall 2011-09-18 19:23:04 +00:00
parent 7608b4aac2
commit 68ebc448f0

View File

@ -308,7 +308,7 @@ public:
typedef __uint32_t mask;
#endif
#if __APPLE__
#if __APPLE__ || __FreeBSD__
static const mask space = _CTYPE_S;
static const mask print = _CTYPE_R;
static const mask cntrl = _CTYPE_C;