Merge "Fix ucontext_t forward declare for mac."

This commit is contained in:
Christopher Ferris 2014-05-09 20:54:29 +00:00 committed by Gerrit Code Review
commit b49f23ed31

View file

@ -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: