[cfe-commits] [libcxx] r140005 - /libcxx/trunk/include/__locale
David Chisnall
csdavec at swan.ac.uk
Sun Sep 18 12:23:04 PDT 2011
Author: theraven
Date: Sun Sep 18 14:23:04 2011
New Revision: 140005
URL: http://llvm.org/viewvc/llvm-project?rev=140005&view=rev
Log:
Enable __locale to work on FreeBSD.
Modified:
libcxx/trunk/include/__locale
Modified: libcxx/trunk/include/__locale
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__locale?rev=140005&r1=140004&r2=140005&view=diff
==============================================================================
--- libcxx/trunk/include/__locale (original)
+++ libcxx/trunk/include/__locale Sun Sep 18 14:23:04 2011
@@ -308,7 +308,7 @@
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;
More information about the cfe-commits
mailing list