diff --git a/source/lib/sysdep/win/wdbg.h b/source/lib/sysdep/win/wdbg.h index 5f877df71b..8f625e9551 100755 --- a/source/lib/sysdep/win/wdbg.h +++ b/source/lib/sysdep/win/wdbg.h @@ -7,6 +7,10 @@ extern "C" { #endif +// TODO: remove this from here, and make all the exception debugging stuff nicer +struct _EXCEPTION_POINTERS; +typedef struct _EXCEPTION_POINTERS* PEXCEPTION_POINTERS; +extern int debug_main_exception_filter(unsigned int code, PEXCEPTION_POINTERS ep); extern void* wdbg_get_nth_caller(uint n); extern int wdbg_resolve_symbol(void* ptr_of_interest, char* sym_name, char* file, int* line);