use AddVectoredExceptionHandler only on XP and above
This commit is contained in:
parent
401c9f0e37
commit
1821c3a15d
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
|
||||||
|
|
||||||
cfg_load();
|
cfg_load();
|
||||||
|
|
||||||
#if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K)
|
#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP)
|
||||||
g_dbg_exception_handle =
|
g_dbg_exception_handle =
|
||||||
AddVectoredExceptionHandler(1, (PVECTORED_EXCEPTION_HANDLER)dbg_vectored_exception_handler);
|
AddVectoredExceptionHandler(1, (PVECTORED_EXCEPTION_HANDLER)dbg_vectored_exception_handler);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue