Merge "Fix ucontext_t forward declare for mac."
This commit is contained in:
commit
b49f23ed31
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue