From a08828291c9c79dfb7dae00f173174eaf966c859 Mon Sep 17 00:00:00 2001 From: Frederik Seiffert Date: Tue, 15 Dec 2020 12:54:04 +0100 Subject: [PATCH] Add missing extern "C" in unwind-arm.h. --- unwind-arm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unwind-arm.h b/unwind-arm.h index 7e2038be..724624e7 100644 --- a/unwind-arm.h +++ b/unwind-arm.h @@ -1,5 +1,9 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /** * ARM-specific unwind definitions. These are taken from the ARM EHABI * specification. @@ -207,3 +211,7 @@ _Unwind_Reason_Code name(_Unwind_State state,\ (dst)->barrier_cache = (src)->barrier_cache; \ (dst)->cleanup_cache = (src)->cleanup_cache; \ (dst)->pr_cache = (src)->pr_cache; + +#ifdef __cplusplus +} +#endif