am 0f5e9579: am b49f23ed: Merge "Fix ucontext_t forward declare for mac."

* commit '0f5e957963d6f455f4685772d0e1181d8f44e7bd':
  Fix ucontext_t forward declare for mac.
This commit is contained in:
Christopher Ferris 2014-05-09 21:01:59 +00:00 committed by Android Git Automerger
commit f4e28c3956
1 changed files with 5 additions and 0 deletions

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: