mirror of
https://github.com/aantron/better-enums.git
synced 2025-12-06 16:56:42 +08:00
fix 81692171
per https://github.com/aantron/better-enums/pull/74#discussion_r294577007
This commit is contained in:
parent
8169217136
commit
eb52bba017
8
enum.h
8
enum.h
@ -33,9 +33,7 @@
|
||||
# define BETTER_ENUMS_IGNORE_OLD_CAST_END
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
// msvc does not recognize `_Pragma`
|
||||
#ifdef _MSC_VER
|
||||
#else // empty definitions for compilers that don't support _Pragma
|
||||
# define BETTER_ENUMS_IGNORE_OLD_CAST_HEADER
|
||||
# define BETTER_ENUMS_IGNORE_OLD_CAST_BEGIN
|
||||
# define BETTER_ENUMS_IGNORE_OLD_CAST_END
|
||||
@ -61,7 +59,9 @@
|
||||
# define BETTER_ENUMS_NO_EXCEPTIONS
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
#endif
|
||||
|
||||
#ifdef _MSVC_VER
|
||||
# if _MSC_VER >= 1911
|
||||
# define BETTER_ENUMS_HAVE_CONSTEXPR
|
||||
# endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user