From: <sv...@op...> - 2024-11-13 12:44:32
|
Author: manx Date: Wed Nov 13 13:44:21 2024 New Revision: 22173 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22173 Log: [Ref] mpt/base/detect_compiler.hpp: Detect VS2022 17.12. Modified: trunk/OpenMPT/src/mpt/base/detect_compiler.hpp Modified: trunk/OpenMPT/src/mpt/base/detect_compiler.hpp ============================================================================== --- trunk/OpenMPT/src/mpt/base/detect_compiler.hpp Tue Nov 12 23:43:54 2024 (r22172) +++ trunk/OpenMPT/src/mpt/base/detect_compiler.hpp Wed Nov 13 13:44:21 2024 (r22173) @@ -50,7 +50,9 @@ #elif defined(_MSC_VER) #define MPT_COMPILER_MSVC 1 -#if (_MSC_VER >= 1941) +#if (_MSC_VER >= 1942) +#define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2022, 12) +#elif (_MSC_VER >= 1941) #define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2022, 11) #elif (_MSC_VER >= 1940) #define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2022, 10) |