From 0cc31c3785a40886ef37e480c8a3d20b8248fcc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 3 Dec 2016 21:57:49 -0800 Subject: [PATCH] Detect VS2017. --- 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 d917d07..7ca718a 100644 --- a/include/bx/platform.h +++ b/include/bx/platform.h @@ -265,7 +265,9 @@ BX_STRINGIZE(__clang_minor__) "." \ BX_STRINGIZE(__clang_patchlevel__) #elif BX_COMPILER_MSVC -# if BX_COMPILER_MSVC >= 1900 // Visual Studio 2015 +# if 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" # elif BX_COMPILER_MSVC >= 1800 // Visual Studio 2013 # define BX_COMPILER_NAME "MSVC 12.0"