Apparently Mac needs this too
This commit is contained in:
@@ -42,7 +42,7 @@ bool GetThreadBacktraceContext( uint64_t ThreadID, BacktraceContext *ctx );
|
|||||||
|
|
||||||
/* Set up a BacktraceContext to get a backtrace after receiving a signal, given
|
/* Set up a BacktraceContext to get a backtrace after receiving a signal, given
|
||||||
* a ucontext_t (see sigaction(2)). (This interface is UNIX-specific.) */
|
* a ucontext_t (see sigaction(2)). (This interface is UNIX-specific.) */
|
||||||
#if defined(UNIX)
|
#if defined(UNIX) || defined(MACOSX)
|
||||||
#include <ucontext.h>
|
#include <ucontext.h>
|
||||||
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc );
|
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc );
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user