|
From: <sv...@op...> - 2025-11-13 15:03:43
|
Author: manx Date: Thu Nov 13 16:03:31 2025 New Revision: 24452 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=24452 Log: [Ref] mpt/base/detect_compiler.hpp: Detect VS2026 18.0. 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 Thu Nov 13 15:49:03 2025 (r24451) +++ trunk/OpenMPT/src/mpt/base/detect_compiler.hpp Thu Nov 13 16:03:31 2025 (r24452) @@ -50,7 +50,9 @@ #elif defined(_MSC_VER) #define MPT_COMPILER_MSVC 1 -#if (_MSC_VER >= 1944) +#if (_MSC_VER >= 1950) +#define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2026, 0) +#elif (_MSC_VER >= 1944) #define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2022, 14) #elif (_MSC_VER >= 1943) #define MPT_COMPILER_MSVC_VERSION MPT_COMPILER_MAKE_VERSION2(2022, 13) |