mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
use AddVectoredExceptionHandler only on XP and above
This commit is contained in:
parent
401c9f0e37
commit
1821c3a15d
@ -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…
x
Reference in New Issue
Block a user