Skip to content
Snippets Groups Projects
Commit 329d8c7c authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'SystemTools-abort'


2581cfd1 SystemTools: Update EnableMSVCDebugHook to simulate "Retry"

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !159
parents e67ed8ef 2581cfd1
No related branches found
No related tags found
No related merge requests found
......@@ -4666,8 +4666,12 @@ void SystemTools::ClassFinalize()
# include <stdlib.h>
namespace KWSYS_NAMESPACE {
static int SystemToolsDebugReport(int, char* message, int*)
static int SystemToolsDebugReport(int, char* message, int* ret)
{
if (ret) {
// Pretend user clicked on Retry button in popup.
*ret = 1;
}
fprintf(stderr, "%s", message);
fflush(stderr);
return 1; // no further reporting required
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment