Skip to content

Commit

Permalink
Update max (#73)
Browse files Browse the repository at this point in the history
max has been updated to support the latest version of Visual C++.

This commit updates max.
  • Loading branch information
ProgramMax authored May 22, 2023
1 parent d1fda33 commit 58635b7
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,16 @@

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

#if _MSC_VER > 1934
#if _MSC_VER > 1936
MAX_COMPILER_MESSAGE( "Compiling with a newer version of MSVC than max recognizes. Using last known version." );
#elif _MSC_VER >= 1936
// MSVC++ (Visual Studio 2022 / version 17.6)
#define MAX_COMPILER_VERSION_MAJOR 17
#define MAX_COMPILER_VERSION_MINOR 6
#elif _MSC_VER >= 1935
// MSVC++ (Visual Studio 2022 / version 17.5)
#define MAX_COMPILER_VERSION_MAJOR 17
#define MAX_COMPILER_VERSION_MINOR 5
#elif _MSC_VER >= 1934
// MSVC++ (Visual Studio 2022 / version 17.4)
#define MAX_COMPILER_VERSION_MAJOR 17
Expand Down

0 comments on commit 58635b7

Please sign in to comment.