From 040dfe008828e9eecf9d2b0dcd28107075ee3f0a Mon Sep 17 00:00:00 2001 From: badair Date: Thu, 31 Mar 2016 00:46:04 -0500 Subject: [PATCH] trying new macro to fix clang/old libstdc++ combo --- include/callable_traits/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/callable_traits/config.hpp b/include/callable_traits/config.hpp index ae540e3..0020a77 100644 --- a/include/callable_traits/config.hpp +++ b/include/callable_traits/config.hpp @@ -25,7 +25,7 @@ Distributed under the Boost Software License, Version 1.0. #endif //_MSC_VER -#if defined(__GLIBCXX__) && (defined(__GNUC__) || defined(__clang__)) +#if defined(__GNUC__) || defined(__clang__) // libstdc++ did not implement std::is_trivially_default_constructible // until GCC 5. It's difficult to check for this reliably, especially in // Clang, so I use a compiler hook instead.