From: <sv...@op...> - 2024-05-22 09:10:40
|
Author: manx Date: Wed May 22 11:10:28 2024 New Revision: 20836 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20836 Log: Merged revision(s) 20835 from trunk/OpenMPT: [Ref] mpt/base/detect_compiler.hpp: Detect VS2022 19.10. ........ Modified: branches/OpenMPT-1.31/ (props changed) branches/OpenMPT-1.31/src/mpt/base/detect_compiler.hpp Modified: branches/OpenMPT-1.31/src/mpt/base/detect_compiler.hpp ============================================================================== --- branches/OpenMPT-1.31/src/mpt/base/detect_compiler.hpp Wed May 22 11:09:56 2024 (r20835) +++ branches/OpenMPT-1.31/src/mpt/base/detect_compiler.hpp Wed May 22 11:10:28 2024 (r20836) @@ -50,7 +50,9 @@ #elif defined(_MSC_VER) #define MPT_COMPILER_MSVC 1 -#if (_MSC_VER >= 1939) +#if (_MSC_VER >= 1940) +#define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2022, 10) +#elif (_MSC_VER >= 1939) #define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2022, 9) #elif (_MSC_VER >= 1938) #define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2022, 8) |