diff --git a/wise_enum_detail.h b/wise_enum_detail.h index bb62ce3..e40ad8f 100644 --- a/wise_enum_detail.h +++ b/wise_enum_detail.h @@ -6,7 +6,7 @@ // optional type needed for interface #ifndef WISE_ENUM_OPTIONAL_TYPE -#if __cplusplus == 201703L +#if __cplusplus >= 201703L #include namespace wise_enum { template @@ -28,7 +28,7 @@ using optional_type = WISE_ENUM_OPTIONAL_TYPE; // Choice of string_view if type defined, otherwise use string literal #ifndef WISE_ENUM_STRING_TYPE -#if __cplusplus == 201703L +#if __cplusplus >= 201703L #include namespace wise_enum { using string_type = std::string_view;