mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
Fix windows builds (exception_info is a fn)
This commit is contained in:
parent
6af9b0194e
commit
778aa6ed9f
2 changed files with 4 additions and 4 deletions
|
|
@ -132,10 +132,10 @@ scan_vst2 (std::string const& path, ARDOUR::PluginType type, bool force, bool ve
|
|||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
static LONG WINAPI
|
||||
crash_handler (EXCEPTION_POINTERS* exception_info)
|
||||
crash_handler (EXCEPTION_POINTERS* exceptioninfo)
|
||||
{
|
||||
// TODO consider DrMingw if HAVE_DRMINGW
|
||||
fprintf (stderr, "Error: %x\n", exception_info->ExceptionRecord->ExceptionCode);
|
||||
fprintf (stderr, "Error: %x\n", exceptioninfo->ExceptionRecord->ExceptionCode);
|
||||
PBD::stacktrace (cerr, 15, 2);
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -119,10 +119,10 @@ scan_vst3 (std::string const& bundle_path, bool force, bool verbose)
|
|||
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
static LONG WINAPI
|
||||
crash_handler (EXCEPTION_POINTERS* exception_info)
|
||||
crash_handler (EXCEPTION_POINTERS* exceptioninfo)
|
||||
{
|
||||
// TODO consider DrMingw if HAVE_DRMINGW
|
||||
fprintf (stderr, "Error: %x\n", exception_info->ExceptionRecord->ExceptionCode);
|
||||
fprintf (stderr, "Error: %x\n", exceptioninfo->ExceptionRecord->ExceptionCode);
|
||||
PBD::stacktrace (cerr, 15, 2);
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue