# | Line 53 | Line 53 | static bool sigsegv_do_install_handler(i | |
---|---|---|
53 | ||
54 | #if HAVE_SIGINFO_T | |
55 | // Generic extended signal handler | |
56 | + | #if defined(__NetBSD__) || defined(__FreeBSD__) |
57 | + | #define SIGSEGV_ALL_SIGNALS FAULT_HANDLER(SIGBUS) |
58 | + | #else |
59 | #define SIGSEGV_ALL_SIGNALS FAULT_HANDLER(SIGSEGV) | |
60 | + | #endif |
61 | #define SIGSEGV_FAULT_HANDLER_ARGLIST int sig, siginfo_t *sip, void *scp | |
62 | #define SIGSEGV_FAULT_ADDRESS sip->si_addr | |
63 | #if defined(__linux__) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |