am b49f23ed: Merge "Fix ucontext_t forward declare for mac."
* commit 'b49f23ed3198ee6129ad675e26c8d197ed984017': Fix ucontext_t forward declare for mac.
This commit is contained in:
commit
0f5e957963
|
@ -47,8 +47,13 @@ struct backtrace_frame_data_t {
|
|||
// Forward declarations.
|
||||
class BacktraceImpl;
|
||||
|
||||
#if defined(__APPLE__)
|
||||
struct __darwin_ucontext;
|
||||
typedef __darwin_ucontext ucontext_t;
|
||||
#else
|
||||
struct ucontext;
|
||||
typedef ucontext ucontext_t;
|
||||
#endif
|
||||
|
||||
class Backtrace {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue