diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2015-03-19 09:03:58 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2015-03-19 09:03:58 +0000 |
commit | 2a5c0e8ec2c21350b0c2cd1b12bd6e8d6389c967 (patch) | |
tree | 168a89c374ff279f890c43d9fda1b8e6a8c5e881 /libcxx/include/locale | |
parent | 30a4ba17215490d714a38795a6a60b3105b392ca (diff) | |
download | bcm5719-llvm-2a5c0e8ec2c21350b0c2cd1b12bd6e8d6389c967.tar.gz bcm5719-llvm-2a5c0e8ec2c21350b0c2cd1b12bd6e8d6389c967.zip |
Add support for kfreebsd. Thanks to Jan Henke
Reported on the Debian BTS:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780106
llvm-svn: 232714
Diffstat (limited to 'libcxx/include/locale')
-rw-r--r-- | libcxx/include/locale | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/locale b/libcxx/include/locale index 916be806bb0..ca468d54c3b 100644 --- a/libcxx/include/locale +++ b/libcxx/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<locale_t>())) |