diff --git a/include/fmt/format.h b/include/fmt/format.h index ab19c85a..5ce68bff 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -157,7 +157,7 @@ #endif // A workaround for gcc 4.4 that doesn't support union members with ctors. -#if FMT_GCC_VERSION && FMT_GCC_VERSION <= 404 +#if (FMT_GCC_VERSION && FMT_GCC_VERSION <= 404) && !defined(__clang__) # define FMT_UNION struct #else # define FMT_UNION union