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

* commit 'b49f23ed3198ee6129ad675e26c8d197ed984017':
  Fix ucontext_t forward declare for mac.
This commit is contained in:
Christopher Ferris 2014-05-09 20:58:04 +00:00 committed by Android Git Automerger
commit 0f5e957963
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: