From b2178670c35b40dd62cbd890805c744efe022f16 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Fri, 16 Dec 2016 11:57:05 -0500 Subject: [PATCH] fixup! fixup! Alter test for std::put_time to work on clang+libstdc++ --- src/utils/io.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/io.hpp b/src/utils/io.hpp index 82d6517b0f6..1f839f26a5e 100644 --- a/src/utils/io.hpp +++ b/src/utils/io.hpp @@ -17,7 +17,7 @@ See the COPYING file for more details. // Instead, we check for the presence of the header. // This was introduced in GCC 5.1, so it's not a perfect check, but it appears to be the best available. // (Boost also uses the same check internally.) -#if (defined(__clang__) && !__has_include() || (defined(__GNUC__) && __GNUC__ < 5) +#if (defined(__clang__) && !__has_include()) || (defined(__GNUC__) && __GNUC__ < 5) #include