diff --git a/enum.h b/enum.h index edd92a0..ab5ea18 100644 --- a/enum.h +++ b/enum.h @@ -38,6 +38,9 @@ #endif #ifdef _MSC_VER +# if _MSC_VER >= 1911 +# define BETTER_ENUMS_HAVE_CONSTEXPR +# endif # ifdef __clang__ # if __has_feature(cxx_constexpr) # define BETTER_ENUMS_HAVE_CONSTEXPR