mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
fix macro check support
This commit is contained in:
parent
60948a4810
commit
e325a70663
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@
|
|||
|
||||
// Checks magic_enum compiler compatibility.
|
||||
#if defined(__clang__) || defined(__GNUC__) && __GNUC__>= 9 || defined(_MSC_VER)
|
||||
# undef MAGIC_ENUM_SUPPORTED
|
||||
# define MAGIC_ENUM_SUPPORTED 1
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue