[libcxx] r232714 - Add support for kfreebsd. Thanks to Jan Henke
Sylvestre Ledru
sylvestre at debian.org
Thu Mar 19 02:03:58 PDT 2015
Author: sylvestre
Date: Thu Mar 19 04:03:58 2015
New Revision: 232714
URL: http://llvm.org/viewvc/llvm-project?rev=232714&view=rev
Log:
Add support for kfreebsd. Thanks to Jan Henke
Reported on the Debian BTS:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780106
Modified:
libcxx/trunk/include/locale
Modified: libcxx/trunk/include/locale
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/locale?rev=232714&r1=232713&r2=232714&view=diff
==============================================================================
--- libcxx/trunk/include/locale (original)
+++ libcxx/trunk/include/locale Thu Mar 19 04:03:58 2015
@@ -236,7 +236,7 @@ typedef _VSTD::unique_ptr<__locale_struc
// 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<locale_t>()))
More information about the cfe-commits
mailing list