From 2d24d89e9b48c8f9ff6e978558ee21a746470baf Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 19 Mar 2015 09:03:58 +0000 Subject: [PATCH] Add support for kfreebsd. Thanks to Jan Henke Reported on the Debian BTS: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780106 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@232714 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/locale | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/locale b/include/locale index 916be806..ca468d54 100644 --- a/include/locale +++ b/include/locale @@ -236,7 +236,7 @@ typedef _VSTD::unique_ptr<__locale_struct, decltype(&uselocale)> __locale_raii; // locale. Linux, not so much. The following functions avoid the locale when // that's possible and otherwise do the wrong thing. FIXME. #if defined(__linux__) || defined(__EMSCRIPTEN__) || defined(_AIX) || \ - defined(_NEWLIB_VERSION) + defined(_NEWLIB_VERSION) || defined(__GLIBC__) #ifdef _LIBCPP_LOCALE__L_EXTENSIONS decltype(MB_CUR_MAX_L(_VSTD::declval()))