From 88327070b95df613915f3af7f7d03179f3838836 Mon Sep 17 00:00:00 2001 From: blankettripod <48206576+blankettripod@users.noreply.github.com> Date: Tue, 26 Apr 2022 23:21:35 +0100 Subject: [PATCH] Update name for vs 2022 (#273) --- include/bx/platform.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/bx/platform.h b/include/bx/platform.h index 210d4b4..c8e100f 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -337,7 +337,9 @@ BX_STRINGIZE(__clang_minor__) "." \ BX_STRINGIZE(__clang_patchlevel__) #elif BX_COMPILER_MSVC -# if BX_COMPILER_MSVC >= 1920 // Visual Studio 2019 +# if BX_COMPILER_MSVC >= 1930 // Visual Studio 2022 +# define BX_COMPILER_NAME "MSVC 17.0" +# elif BX_COMPILER_MSVC >= 1920 // Visual Studio 2019 # define BX_COMPILER_NAME "MSVC 16.0" # elif BX_COMPILER_MSVC >= 1910 // Visual Studio 2017 # define BX_COMPILER_NAME "MSVC 15.0"