From f7b87ca002c879943f0d8106eb83a38ee32dc852 Mon Sep 17 00:00:00 2001 From: Chris Blume Date: Tue, 6 Feb 2024 11:05:49 -0800 Subject: [PATCH] Update max (#77) --- .../Code/max/Compiling/Configuration/Compiler/VC.hpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp b/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp index e477fe1..13e2931 100644 --- a/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp +++ b/Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp @@ -11,8 +11,16 @@ #define MAX_COMPILER_MESSAGE( Message ) __pragma( message( Message ) ) -#if _MSC_VER > 1936 +#if _MSC_VER > 1938 MAX_COMPILER_MESSAGE( "Compiling with a newer version of MSVC than max recognizes. Using last known version." ); +#elif _MSC_VER >= 1938 + // MCVC++ (Visual Studio 2022 / version 17.8) + #define MAX_COMPILER_VERSION_MAJOR 17 + #define MAX_COMPILER_VERSION_MINOR 8 +#elif _MSC_VER >= 1937 + // MSVC++ (Visual Studio 2022 / version 17.7) + #define MAX_COMPILER_VERSION_MAJOR 17 + #define MAX_COMPILER_VERSION_MINOR 7 #elif _MSC_VER >= 1936 // MSVC++ (Visual Studio 2022 / version 17.6) #define MAX_COMPILER_VERSION_MAJOR 17