Apparently Mac needs this too

This commit is contained in:
Ben "root" Anderson
2013-11-09 18:36:57 -06:00
parent ec1a25b261
commit a3e241f471
+1 -1
View File
@@ -42,7 +42,7 @@ bool GetThreadBacktraceContext( uint64_t ThreadID, BacktraceContext *ctx );
/* Set up a BacktraceContext to get a backtrace after receiving a signal, given
* a ucontext_t (see sigaction(2)). (This interface is UNIX-specific.) */
#if defined(UNIX)
#if defined(UNIX) || defined(MACOSX)
#include <ucontext.h>
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc );
#endif