DXGL r883 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r882‎ | r883 | r884 >
Date:02:40, 9 December 2018
Author:admin
Status:new
Tags:
Comment:
Fix buildtool/installer on Visual Studio 2017 through 2017.8 (display compiler error) and 2019 preview (download VS2017.9 redist).
Modified paths:
  • /buildtool/buildtool.c (modified) (history)

Diff [purge]

Index: buildtool/buildtool.c
@@ -218,9 +218,9 @@
219219 strncpy(findptr, "\"VC2013\"\n", 13);
220220 #elif (_MSC_VER == 1916)
221221 strncpy(findptr, "\"VC2017_9\"\n", 13);
222 - #elif ((MSC_VER > 1900) && (_MSC_VER < 1916))
 222+ #elif ((_MSC_VER > 1900) && (_MSC_VER < 1916))
223223 #error Please update your Visual Studio 2017 to version 2017.9 before continuing.
224 - #elif (MSC_VER > 1916)
 224+ #elif (_MSC_VER > 1916)
225225 #pragma message ("Detected a newer version of Visual Studio, compiling assuming 2017.9.")
226226 strncpy(findptr, "\"VC2017_9\"\n", 13);
227227 #else