src/Main/bootstrap.cxx: disable custom segfault handler on OpenBSD.
This commit is contained in:
parent
d7614c184c
commit
34e749bc15
1 changed files with 4 additions and 2 deletions
|
@ -269,8 +269,10 @@ int main ( int argc, char **argv )
|
|||
#endif
|
||||
|
||||
// if we're not using the normal crash-reported, install our
|
||||
// custom segfault handler on Linux, in debug builds
|
||||
#if !defined(SG_WINDOWS) && !defined(NDEBUG)
|
||||
// custom segfault handler on Linux, in debug builds.
|
||||
// NB On OpenBSD this seems to lose info about where the signal
|
||||
// happened, so is disabled.
|
||||
#if !defined(SG_WINDOWS) && !defined(NDEBUG) && !defined(__OpenBSD__)
|
||||
if (!flightgear::isSentryEnabled()) {
|
||||
signal(SIGSEGV, segfault_handler);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue