Skip to content

Commit

Permalink
Update max (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramMax authored Feb 6, 2024
1 parent 3febf18 commit f7b87ca
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 > 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
Expand Down

0 comments on commit f7b87ca

Please sign in to comment.