OSDN Git Service

Added compiler detection for VS2012.
authorLoRd_MuldeR <mulder2@gmx.de>
Mon, 12 Nov 2012 20:42:56 +0000 (21:42 +0100)
committerLoRd_MuldeR <mulder2@gmx.de>
Mon, 12 Nov 2012 20:42:56 +0000 (21:42 +0100)
src/Config.h
src/Global.cpp

index 623d634..28a9c55 100644 (file)
@@ -30,7 +30,7 @@
 #define VER_LAMEXP_MINOR_LO                                    7
 #define VER_LAMEXP_TYPE                                                Alpha
 #define VER_LAMEXP_PATCH                                       2
-#define VER_LAMEXP_BUILD                                       1181
+#define VER_LAMEXP_BUILD                                       1182
 
 ///////////////////////////////////////////////////////////////////////////////
 // Tool versions (minimum expected versions!)
index 3b6aa33..13b08f4 100644 (file)
@@ -153,7 +153,13 @@ static bool g_lamexp_console_attached = false;
                #error Compiler is not supported!
        #endif
 #elif defined(_MSC_VER)
-       #if (_MSC_VER == 1600)
+       #if (_MSC_VER == 1700)
+               #if (_MSC_FULL_VER < 170050727)
+                       static const char *g_lamexp_version_compiler = "MSVC 2012-Beta";
+               #else
+                       static const char *g_lamexp_version_compiler = "MSVC 2012";
+               #endif
+       #elif (_MSC_VER == 1600)
                #if (_MSC_FULL_VER >= 160040219)
                        static const char *g_lamexp_version_compiler = "MSVC 2010-SP1";
                #else