Skip to content

Commit 58635b7

Browse files
authored
Update max (#73)
max has been updated to support the latest version of Visual C++. This commit updates max.
1 parent d1fda33 commit 58635b7

File tree

1 file changed

+9
-1
lines changed
  • Dependencies/max/Code/max/Compiling/Configuration/Compiler

1 file changed

+9
-1
lines changed

Dependencies/max/Code/max/Compiling/Configuration/Compiler/VC.hpp

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,16 @@
1111

1212
#define MAX_COMPILER_MESSAGE( Message ) __pragma( message( Message ) )
1313

14-
#if _MSC_VER > 1934
14+
#if _MSC_VER > 1936
1515
MAX_COMPILER_MESSAGE( "Compiling with a newer version of MSVC than max recognizes. Using last known version." );
16+
#elif _MSC_VER >= 1936
17+
// MSVC++ (Visual Studio 2022 / version 17.6)
18+
#define MAX_COMPILER_VERSION_MAJOR 17
19+
#define MAX_COMPILER_VERSION_MINOR 6
20+
#elif _MSC_VER >= 1935
21+
// MSVC++ (Visual Studio 2022 / version 17.5)
22+
#define MAX_COMPILER_VERSION_MAJOR 17
23+
#define MAX_COMPILER_VERSION_MINOR 5
1624
#elif _MSC_VER >= 1934
1725
// MSVC++ (Visual Studio 2022 / version 17.4)
1826
#define MAX_COMPILER_VERSION_MAJOR 17

0 commit comments

Comments
 (0)