From 6f49a392f8b77327ad35ac2bd1cee48c742a1c85 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 24 Aug 2015 16:02:31 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4973 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/sys_win_threads.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/common/sys_win_threads.c b/engine/common/sys_win_threads.c index b9b6ab2ad..5cd82cef1 100644 --- a/engine/common/sys_win_threads.c +++ b/engine/common/sys_win_threads.c @@ -104,8 +104,8 @@ unsigned int WINAPI threadwrapper(void *args) { } #else - PVOID (WINAPI *[SetUnhandledExceptionFilter)(ULONG FirstHandler, PVECTORED_EXCEPTION_HANDLER VectoredHandler); - dllfunction_t dbgfuncs[] = {{(void*)&pAddVectoredExceptionHandler, "SetUnhandledExceptionFilter"}, {NULL,NULL}}; + PVOID (WINAPI *pAddVectoredExceptionHandler)(ULONG FirstHandler, PVECTORED_EXCEPTION_HANDLER VectoredHandler); + dllfunction_t dbgfuncs[] = {{(void*)&pAddVectoredExceptionHandler, "AddVectoredExceptionHandler"}, {NULL,NULL}}; if (Sys_LoadLibrary("kernel32.dll", dbgfuncs) && pAddVectoredExceptionHandler) pAddVectoredExceptionHandler(0, nonmsvc_CrashExceptionHandler); #endif