diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/backtrace/Backtrace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/backtrace/Backtrace.h b/include/backtrace/Backtrace.h index 84b5631..e07d322 100644 --- a/include/backtrace/Backtrace.h +++ b/include/backtrace/Backtrace.h @@ -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: |