summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stacktrace.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/stacktrace.c b/stacktrace.c
index 1e79bfa..bbe4358 100644
--- a/stacktrace.c
+++ b/stacktrace.c
@@ -38,13 +38,7 @@ typedef struct
intptr_t* addrs;
} stack_crawl_state_t;
-
-/* depends how the system includes define this */
-#ifdef HAVE_UNWIND_CONTEXT_STRUCT
typedef struct _Unwind_Context __unwind_context;
-#else
-typedef _Unwind_Context __unwind_context;
-#endif
static _Unwind_Reason_Code trace_function(__unwind_context *context, void *arg)
{