Skip to content

Commit f7b87ca

Browse files
authored
Update max (#77)
1 parent 3febf18 commit f7b87ca

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 > 1936
14+
#if _MSC_VER > 1938
1515
MAX_COMPILER_MESSAGE( "Compiling with a newer version of MSVC than max recognizes. Using last known version." );
16+
#elif _MSC_VER >= 1938
17+
// MCVC++ (Visual Studio 2022 / version 17.8)
18+
#define MAX_COMPILER_VERSION_MAJOR 17
19+
#define MAX_COMPILER_VERSION_MINOR 8
20+
#elif _MSC_VER >= 1937
21+
// MSVC++ (Visual Studio 2022 / version 17.7)
22+
#define MAX_COMPILER_VERSION_MAJOR 17
23+
#define MAX_COMPILER_VERSION_MINOR 7
1624
#elif _MSC_VER >= 1936
1725
// MSVC++ (Visual Studio 2022 / version 17.6)
1826
#define MAX_COMPILER_VERSION_MAJOR 17

0 commit comments

Comments
 (0)