Properly detect VS2012 with Update-2.

This commit is contained in:
LoRd_MuldeR 2013-04-08 01:12:58 +02:00
parent 86b079cb74
commit 135aaaf77f

View File

@ -165,8 +165,10 @@ static bool g_lamexp_console_attached = false;
static const char *g_lamexp_version_compiler = "MSVC 2012-RTM"; static const char *g_lamexp_version_compiler = "MSVC 2012-RTM";
#elif (_MSC_FULL_VER < 170051106) #elif (_MSC_FULL_VER < 170051106)
static const char *g_lamexp_version_compiler = "MSVC 2012-U1 CTP"; static const char *g_lamexp_version_compiler = "MSVC 2012-U1 CTP";
#elif (_MSC_FULL_VER == 170051106) #elif (_MSC_FULL_VER < 170060315)
static const char *g_lamexp_version_compiler = "MSVC 2012-U1"; static const char *g_lamexp_version_compiler = "MSVC 2012-U1";
#elif (_MSC_FULL_VER == 170060315)
static const char *g_lamexp_version_compiler = "MSVC 2012-U2";
#else #else
#error Compiler version is not supported yet! #error Compiler version is not supported yet!
#endif #endif