mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +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();
|
||||
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_WIN2K)
|
||||
#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP)
|
||||
g_dbg_exception_handle =
|
||||
AddVectoredExceptionHandler(1, (PVECTORED_EXCEPTION_HANDLER)dbg_vectored_exception_handler);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user