summaryrefslogtreecommitdiffstats
path: root/include/__locale
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2011-09-18 19:23:04 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2011-09-18 19:23:04 +0000
commit68ebc448f0fd9a9e6914f776d9667e70f180ce9b (patch)
tree5470c5157d30d116fc337276ce8ec78f8b201acd /include/__locale
parent7608b4aac2bcdaa948387355a2248884758482ea (diff)
downloadexternal_libcxx-68ebc448f0fd9a9e6914f776d9667e70f180ce9b.tar.gz
external_libcxx-68ebc448f0fd9a9e6914f776d9667e70f180ce9b.tar.bz2
external_libcxx-68ebc448f0fd9a9e6914f776d9667e70f180ce9b.zip
Enable __locale to work on FreeBSD.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@140005 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__locale')
-rw-r--r--include/__locale2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/__locale b/include/__locale
index 3f669d610..4099aa7e0 100644
--- a/include/__locale
+++ b/include/__locale
@@ -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;