DXGL r927 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r926‎ | r927 | r928 >
Date:22:26, 14 May 2019
Author:admin
Status:new
Tags:
Comment:
Fix signing builds on Visual Studio 2010.
Modified paths:
  • /buildtool/buildtool.c (modified) (history)

Diff [purge]

Index: buildtool/buildtool.c
@@ -492,6 +492,7 @@
493493 CloseHandle(process.hThread);
494494 Sleep(15000);
495495 }
 496+#if (_MSC_VER >= 1920)
496497 strcpy(&signpath, &signtoolsha256path);
497498 strcat(&signpath, "\"");
498499 strncat(&signpath, exefile, MAX_PATH);
@@ -505,6 +506,7 @@
506507 CloseHandle(process.hThread);
507508 Sleep(15000);
508509 }
 510+#endif
509511 return 0;
510512 }
511513