Added compiler detection for VS2012.

This commit is contained in:
LoRd_MuldeR 2012-11-12 21:42:56 +01:00
parent b57650acda
commit 3d431c099f
2 changed files with 8 additions and 2 deletions

View File

@ -30,7 +30,7 @@
#define VER_LAMEXP_MINOR_LO 7 #define VER_LAMEXP_MINOR_LO 7
#define VER_LAMEXP_TYPE Alpha #define VER_LAMEXP_TYPE Alpha
#define VER_LAMEXP_PATCH 2 #define VER_LAMEXP_PATCH 2
#define VER_LAMEXP_BUILD 1181 #define VER_LAMEXP_BUILD 1182
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Tool versions (minimum expected versions!) // Tool versions (minimum expected versions!)

View File

@ -153,7 +153,13 @@ static bool g_lamexp_console_attached = false;
#error Compiler is not supported! #error Compiler is not supported!
#endif #endif
#elif defined(_MSC_VER) #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) #if (_MSC_FULL_VER >= 160040219)
static const char *g_lamexp_version_compiler = "MSVC 2010-SP1"; static const char *g_lamexp_version_compiler = "MSVC 2010-SP1";
#else #else