Commit cd54a8fe authored by LRN's avatar LRN Committed by Jehan

Windows backtrace: VEH must use stdcall

Fixes issue #2794
parent 4b8bb5e0
Pipeline #132489 passed with stages
in 30 minutes and 7 seconds
......@@ -90,7 +90,7 @@ static void gimp_backtrace_set_thread_name (DWORD tid,
static gboolean gimp_backtrace_enumerate_threads (void);
static LONG gimp_backtrace_exception_handler (PEXCEPTION_POINTERS info);
static LONG WINAPI gimp_backtrace_exception_handler (PEXCEPTION_POINTERS info);
/* static variables */
......@@ -222,7 +222,7 @@ gimp_backtrace_enumerate_threads (void)
return n_threads > 0;
}
static LONG
static LONG WINAPI
gimp_backtrace_exception_handler (PEXCEPTION_POINTERS info)
{
#define EXCEPTION_SET_THREAD_NAME ((DWORD) 0x406D1388)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment