|
@@ -45,7 +45,16 @@
|
45
|
45
|
#pragma warning(disable:4146) // unary minus operator applied to unsigned type, result still unsigned
|
46
|
46
|
#pragma warning(disable:4800) // 'A' : forcing value to bool 'true' or 'false' (performance warning)
|
47
|
47
|
|
48
|
|
- #define BUILD_COMPILER "msvc12"
|
|
48
|
+ #if _MSC_VER == 1912 || _MSC_VER == 1911 || _MSC_VER == 1910
|
|
49
|
+ #define BUILD_COMPILER "Visual Studio 2017"
|
|
50
|
+ #elif _MSC_VER == 1900
|
|
51
|
+ #define BUILD_COMPILER "Visual Studio 2015"
|
|
52
|
+ #elif _MSC_VER == 1800
|
|
53
|
+ #define BUILD_COMPILER "Visual Studio 2013"
|
|
54
|
+ #else
|
|
55
|
+ #define BUILD_COMPILER "Visual Studio"
|
|
56
|
+ #endif
|
|
57
|
+
|
49
|
58
|
#define __PRETTY_FUNCTION__ __FUNCDNAME__
|
50
|
59
|
#else
|
51
|
60
|
#error "Compiler not supported."
|