Fix ucontext_t forward declare for mac.
(cherry picked from commit afa9c9cd72
)
Change-Id: I6dacdfacfdff0c3ce5166207cfd60adb347ee347
This commit is contained in:
parent
8fb224d32b
commit
ee15ddee72
|
@ -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