mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Fix Windows debug builds
This commit is contained in:
parent
15fd9f23f3
commit
46251c2068
1 changed files with 2 additions and 2 deletions
|
|
@ -74,7 +74,7 @@ PBD::stacktrace (std::ostream& out, int levels, int start)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined (PLATFORM_WINDOWS)
|
#elif defined PLATFORM_WINDOWS
|
||||||
|
|
||||||
#if !defined CaptureStackBackTrace
|
#if !defined CaptureStackBackTrace
|
||||||
#define CaptureStackBackTrace RtlCaptureStackBackTrace
|
#define CaptureStackBackTrace RtlCaptureStackBackTrace
|
||||||
|
|
@ -98,7 +98,7 @@ PBD::stacktrace (std::ostream& out, int levels, int start)
|
||||||
HANDLE process;
|
HANDLE process;
|
||||||
|
|
||||||
process = GetCurrentProcess();
|
process = GetCurrentProcess();
|
||||||
out << "Backtrace thread: " << DEBUG_THREAD_SELF << std::endl;
|
out << string_compose ("Backtrace thread: %1", DEBUG_THREAD_SELF) << std::endl;
|
||||||
|
|
||||||
SymInitialize (process, NULL, TRUE);
|
SymInitialize (process, NULL, TRUE);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue