Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f5e9579 authored by Christopher Ferris's avatar Christopher Ferris Committed by Android Git Automerger
Browse files

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

* commit 'b49f23ed':
  Fix ucontext_t forward declare for mac.
parents c1087e55 b49f23ed
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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: