From 5f1cc5841d8ce2ebfa7735ae684e24cb6b4afe85 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Fri, 16 Dec 2016 11:14:21 -0500 Subject: [PATCH] fixup! Alter test for std::put_time to work on clang+libstdc++ --- src/gettext_boost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gettext_boost.cpp b/src/gettext_boost.cpp index c6d91e6573e5..f99d9793b25f 100644 --- a/src/gettext_boost.cpp +++ b/src/gettext_boost.cpp @@ -437,7 +437,7 @@ std::string strftime(const std::string& format, const std::tm* time) std::basic_ostringstream dummy; dummy.imbue(get_manager().get_locale()); // See utils/io.hpp for explanation of this check -#if (defined(__clang__) && !__has_include() || (defined(__GNUC__) && __GNUC__ < 5) +#if (defined(__clang__) && !__has_include()) || (defined(__GNUC__) && __GNUC__ < 5) dummy << bl::as::ftime(format) << mktime(const_cast(time)); #else dummy << std::put_time(time, format.c_str());