Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2013-05-18 01:17:34 +0400
committerJoerg Sonnenberger <joerg@bec.de>2013-05-18 01:17:34 +0400
commit50544e7e6556679ecfc355f78991c4f03fd129e4 (patch)
tree97b04c61a0a601ff3d45ec57706f2053ea4f6362 /libcxx/include/locale
parentdf6bbaa5285ba963d082989c463965d04d6c881d (diff)
Add NetBSD support.
llvm-svn: 182162
Diffstat (limited to 'libcxx/include/locale')
-rw-r--r--libcxx/include/locale2
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