mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Remove unneeded usage of anonymous struct on clang
This commit is contained in:
committed by
Victor Zverovich
parent
3adfaae20c
commit
10b939b096
@ -157,7 +157,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// A workaround for gcc 4.4 that doesn't support union members with ctors.
|
// 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
|
# define FMT_UNION struct
|
||||||
#else
|
#else
|
||||||
# define FMT_UNION union
|
# define FMT_UNION union
|
||||||
|
Reference in New Issue
Block a user