commit | a71a9526340325a63cfee83be43be30af25a802c | [log] [tgz] |
---|---|---|
author | Joerg Sonnenberger <joerg@bec.de> | Fri May 17 21:17:34 2013 +0000 |
committer | Joerg Sonnenberger <joerg@bec.de> | Fri May 17 21:17:34 2013 +0000 |
tree | 91965bedbb6db34ced83c23eb58fb5bbe42227fd | |
parent | 67444034ed83f5b27d66b082ec88f9d859b85cba [diff] [blame] |
Add NetBSD support. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@182162 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/locale b/include/locale index 49f9c08..6d617e7 100644 --- a/include/locale +++ b/include/locale
@@ -206,6 +206,8 @@ #if defined(__APPLE__) || defined(__FreeBSD__) # define _LIBCPP_GET_C_LOCALE 0 +#elif defined(__NetBSD__) +# define _LIBCPP_GET_C_LOCALE LC_C_LOCALE #else # define _LIBCPP_GET_C_LOCALE __cloc() // Get the C locale object