mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-30 05:40:06 +00:00
Remove unneeded usage of anonymous struct on clang
This commit is contained in:
parent
3adfaae20c
commit
10b939b096
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user