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

Commit b49f23ed authored by Christopher Ferris's avatar Christopher Ferris Committed by Gerrit Code Review
Browse files

Merge "Fix ucontext_t forward declare for mac."

parents bf6c2dbe afa9c9cd
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: