File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed
Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 33// Copyright (c) 2005 David Ward
44
55#include " Trace.h"
6+ #include < cstdio>
7+ #include < iostream>
68
79// Track memory leaks on Windows to the line that new'd the memory
810#ifdef _WIN32
@@ -16,26 +18,7 @@ static char THIS_FILE[] = __FILE__;
1618
1719// Customize behaviour of Trace here
1820
19- #ifdef _WIN32
20-
21- // On Windows, send Trace to the Debug window in DevStudio
22- // The ATL/MFC Trace application also picks up Trace when running
23-
24- // #include "Windows.h"
25-
26- void DasherTraceOutputImpl (const char *pszFormat, va_list vargs) {
27- // TODO: Reimplement
28- // char buffer[2048];
29- // _vsnprintf(buffer, 2048,pszFormat, vargs);
30- // OutputDebugStringA(buffer);
31- }
32-
33- #else
34-
35- // Send Trace to stdout
36-
21+ // Send Trace to stdout
3722void DasherTraceOutputImpl (const char *pszFormat, va_list vargs) {
3823 vfprintf (stdout, pszFormat, vargs);
3924}
40-
41- #endif
You can’t perform that action at this time.
0 commit comments