OSDN Git Service

Added support for Visual Studio 2017.9 (v15.9.11) and 2019 (16.0.1).
authorLoRd_MuldeR <mulder2@gmx.de>
Sat, 13 Apr 2019 11:30:38 +0000 (13:30 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Sat, 13 Apr 2019 11:30:38 +0000 (13:30 +0200)
include/MUtils/Version.h

index eaa5493..12b3464 100644 (file)
@@ -67,8 +67,14 @@ namespace MUtils
                                                #error Compiler is not supported!
                                        #endif
                                #elif defined(_MSC_VER)
-                                       #if (_MSC_VER == 1916)
-                                               #if((_MSC_FULL_VER >= 191627024) && (_MSC_FULL_VER <= 191627027))
+                                       #if (_MSC_VER == 1920)
+                                               #if((_MSC_FULL_VER >= 192027508) && (_MSC_FULL_VER <= 192027508))
+                                                       "MSVC 2019.0";
+                                               #else
+                                                       #error Compiler version is not supported yet!
+                                               #endif
+                                       #elif (_MSC_VER == 1916)
+                                               #if((_MSC_FULL_VER >= 191627024) && (_MSC_FULL_VER <= 191627030))
                                                        "MSVC 2017.9";
                                                #else
                                                        #error Compiler version is not supported yet!