diff --git a/client/concurrentqueue.h b/client/concurrentqueue.h index ba9eafec..074dc2f2 100644 --- a/client/concurrentqueue.h +++ b/client/concurrentqueue.h @@ -242,8 +242,8 @@ namespace details { : static_cast(-1); }; -#if defined(__GNUC__) && !defined( __clang__ ) - typedef ::max_align_t std_max_align_t; // GCC forgot to add it to std:: for a while +#if defined(__GLIBCXX__) + typedef ::max_align_t std_max_align_t; // libstdc++ forgot to add it to std:: for a while #else typedef std::max_align_t std_max_align_t; // Others (e.g. MSVC) insist it can *only* be accessed via std:: #endif