OSDN Git Service

Properly detect VS2012 with Update-2.
authorLoRd_MuldeR <mulder2@gmx.de>
Sun, 7 Apr 2013 23:12:58 +0000 (01:12 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Sun, 7 Apr 2013 23:12:58 +0000 (01:12 +0200)
src/Global.cpp

index b2f6502..0794986 100644 (file)
@@ -165,8 +165,10 @@ static bool g_lamexp_console_attached = false;
                        static const char *g_lamexp_version_compiler = "MSVC 2012-RTM";
                #elif (_MSC_FULL_VER < 170051106)
                        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";
+               #elif (_MSC_FULL_VER == 170060315)
+                       static const char *g_lamexp_version_compiler = "MSVC 2012-U2";
                #else
                        #error Compiler version is not supported yet!
                #endif