compilers other than MSVC won't recognize _Pragma

per
https://github.com/aantron/better-enums/pull/74#pullrequestreview-249666979
This commit is contained in:
Felipe Lema 2019-06-17 13:53:33 -04:00
parent 000d92720f
commit 8169217136

4
enum.h
View File

@ -61,9 +61,7 @@
# define BETTER_ENUMS_NO_EXCEPTIONS
# endif
# endif
#endif
#ifdef _MSC_VER
#else
# if _MSC_VER >= 1911
# define BETTER_ENUMS_HAVE_CONSTEXPR
# endif