summaryrefslogtreecommitdiff
path: root/devel/libc++/files/patch-include_locale
blob: 1e0c913de8b617b6373fd4919d0dfad85cf9c263 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- include/locale.orig	2014-02-07 21:14:29 UTC
+++ include/locale
@@ -209,7 +209,7 @@ template <class charT> class messages_by
 
 _LIBCPP_BEGIN_NAMESPACE_STD
 
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)
 #  define _LIBCPP_GET_C_LOCALE 0
 #elif defined(__NetBSD__)
 #  define _LIBCPP_GET_C_LOCALE LC_C_LOCALE