diff --git a/Utilities/types.h b/Utilities/types.h index 14620dcf88..72ddb37a63 100644 --- a/Utilities/types.h +++ b/Utilities/types.h @@ -17,6 +17,11 @@ #include #include +#ifdef _MSC_VER +#ifndef __cpp_lib_bitops && _MSC_VER < 1928 +#define __cpp_lib_bitops +#endif +#endif #include #ifndef __has_builtin