hook SetUnhandledExceptionFilter for mingw debug build
This commit is contained in:
parent
4b7fe8531e
commit
b0fb8d0be7
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ HOOKLIST g_hook_hooklist[] =
|
|||
{ "LoadLibraryExW", (PROC)fake_LoadLibraryExW, (PROC*)&real_LoadLibraryExW, HOOK_SKIP_2 },
|
||||
{ "GetProcAddress", (PROC)fake_GetProcAddress, (PROC*)&real_GetProcAddress, HOOK_SKIP_2 },
|
||||
{ "GetDiskFreeSpaceA", (PROC)fake_GetDiskFreeSpaceA, (PROC*)&real_GetDiskFreeSpaceA, HOOK_SKIP_2 },
|
||||
#if defined(_DEBUG) && defined(__GNUC__)
|
||||
{ "SetUnhandledExceptionFilter", (PROC)fake_SetUnhandledExceptionFilter, (PROC*)&real_SetUnhandledExceptionFilter, 0 },
|
||||
#endif
|
||||
{ "", NULL, NULL, 0 }
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue