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;


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to