From 1e87be4f88ac095f7d076038e8d64f25b420cd56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= Date: Wed, 13 Nov 2024 12:44:21 +0000 Subject: [PATCH] [Ref] mpt/base/detect_compiler.hpp: Detect VS2022 17.12. git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22173 56274372-70c3-4bfc-bfc3-4c3a0b034d27 --- src/mpt/base/detect_compiler.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mpt/base/detect_compiler.hpp b/src/mpt/base/detect_compiler.hpp index cbff076ccc3..614cf31b451 100644 --- a/src/mpt/base/detect_compiler.hpp +++ b/src/mpt/base/detect_compiler.hpp @@ -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)