summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index f333756e..c2e927cc 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -68,8 +68,10 @@ static struct
/* dwarf unwinder only tested so far on i386 and x86_64. */
#if (defined(__i386__) || defined(__x86_64__))
+#ifndef STP_USE_DWARF_UNWINDER
#define STP_USE_DWARF_UNWINDER
#endif
+#endif
#ifdef CONFIG_FRAME_POINTER
/* Just because frame pointers are available does not mean we can trust them. */