comparison src/vdb-win32.c @ 4827:11daf37dae4d

more fixes to get a clean compile
author Ben Wing <ben@xemacs.org>
date Sat, 26 Dec 2009 21:04:44 -0600
parents 141c2920ea48
children f395ee7ad844
comparison
equal deleted inserted replaced
4826:780bb5441c14 4827:11daf37dae4d
27 #include "vdb.h" 27 #include "vdb.h"
28 28
29 #include "syswindows.h" 29 #include "syswindows.h"
30 30
31 31
32 DWORD WINAPI 32 LONG WINAPI
33 win32_fault_handler (LPEXCEPTION_POINTERS e) 33 win32_fault_handler (LPEXCEPTION_POINTERS e)
34 { 34 {
35 #define GET_FAULT_ADDRESS (void *) e->ExceptionRecord->ExceptionInformation[1] 35 #define GET_FAULT_ADDRESS (void *) e->ExceptionRecord->ExceptionInformation[1]
36 if ((e->ExceptionRecord->ExceptionCode == EXCEPTION_ACCESS_VIOLATION) 36 if ((e->ExceptionRecord->ExceptionCode == EXCEPTION_ACCESS_VIOLATION)
37 && (e->ExceptionRecord->ExceptionInformation[0] == 1) 37 && (e->ExceptionRecord->ExceptionInformation[0] == 1)
44 } 44 }
45 else 45 else
46 return EXCEPTION_CONTINUE_SEARCH; 46 return EXCEPTION_CONTINUE_SEARCH;
47 } 47 }
48 48
49 typedef DWORD (WINAPI *gcPVECTORED_EXCEPTION_HANDLER) (LPEXCEPTION_POINTERS e); 49 typedef LONG (WINAPI *gcPVECTORED_EXCEPTION_HANDLER) (LPEXCEPTION_POINTERS e);
50 50
51 51
52 void 52 void
53 vdb_install_signal_handler (void) 53 vdb_install_signal_handler (void)
54 { 54 {