diff --git a/triqs/utility/first_include.hpp b/triqs/utility/first_include.hpp index e2206316..8b8ac45d 100644 --- a/triqs/utility/first_include.hpp +++ b/triqs/utility/first_include.hpp @@ -22,8 +22,8 @@ #define TRIQS_ARRAYS_FIRST_INCLUDE_PYTHON_H // clang but not libc++ -#if defined(__clang__) and !defined(_LIBCPP_VERSION) -// workaround an error in gcc stdlib +#if defined(__clang__) and !defined(_LIBCPP_VERSION) and (__clang_major__ <= 3) and (__clang_minor__ <= 4) and (__clang_patchlevel__ < 2) +// workaround an error in gcc stdlib, but corrected in clang 3.4.2 typedef long double max_align_t; #endif