Remove unneeded usage of anonymous struct on clang

This commit is contained in:
Elias Kosunen 2018-03-15 10:23:12 +02:00 committed by Victor Zverovich
parent 3adfaae20c
commit 10b939b096

View File

@ -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