1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

fix debug build

This commit is contained in:
FunkyFr3sh 2024-03-03 02:53:07 +01:00
parent e18e4dbbe3
commit 5082a40a3d
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
int dbg_exception_handler(EXCEPTION_POINTERS* exception);
LONG WINAPI dbg_exception_handler(EXCEPTION_POINTERS* exception);
void dbg_counter_start();
double dbg_counter_stop();
void dbg_debug_string(const char* format, ...);

View File

@ -22,7 +22,7 @@ static BOOL g_dbg_log_rotate;
#ifdef _DEBUG
static int g_dbg_crash_count = 0;
int dbg_exception_handler(EXCEPTION_POINTERS* exception)
LONG WINAPI dbg_exception_handler(EXCEPTION_POINTERS* exception)
{
g_dbg_crash_count++;