From 690d9ee5aec845587244288ea3dceb6d0cdad2dd Mon Sep 17 00:00:00 2001 From: Stuart Date: Sat, 13 Jul 2019 23:19:43 +0100 Subject: [PATCH] Added Visual Studio 2019 compiler name to platform.h --- 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 326f42e..8195cfe 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -338,7 +338,9 @@ BX_STRINGIZE(__clang_minor__) "." \ BX_STRINGIZE(__clang_patchlevel__) #elif BX_COMPILER_MSVC -# if BX_COMPILER_MSVC >= 1910 // Visual Studio 2017 +# if 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" # elif BX_COMPILER_MSVC >= 1900 // Visual Studio 2015 # define BX_COMPILER_NAME "MSVC 14.0"