diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2013-05-18 01:17:34 +0400 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2013-05-18 01:17:34 +0400 |
commit | 50544e7e6556679ecfc355f78991c4f03fd129e4 (patch) | |
tree | 97b04c61a0a601ff3d45ec57706f2053ea4f6362 /libcxx/include/locale | |
parent | df6bbaa5285ba963d082989c463965d04d6c881d (diff) |
Add NetBSD support.
llvm-svn: 182162
Diffstat (limited to 'libcxx/include/locale')
-rw-r--r-- | libcxx/include/locale | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/locale b/libcxx/include/locale index 49f9c08fa8cc..6d617e754302 100644 --- a/libcxx/include/locale +++ b/libcxx/include/locale @@ -206,6 +206,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD #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 |