#6026 backtrace() not portable - linker error on NetBSD
This commit is contained in:
parent
e5d63195cb
commit
95cd0f396a
|
@ -33,13 +33,13 @@
|
|||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
#if !defined(NO_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__OS2__)
|
||||
#if !defined(NO_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__OS2__)
|
||||
#define USE_UNIX_SIGNAL_HANDLING
|
||||
#include <signal.h>
|
||||
#include <cstdio>
|
||||
#endif
|
||||
|
||||
#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__SVR4)
|
||||
#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4)
|
||||
#define USE_UNIX_BACKTRACE_SUPPORT
|
||||
#include <cxxabi.h>
|
||||
#include <execinfo.h>
|
||||
|
|
Loading…
Reference in New Issue