Skip to content

Commit

Permalink
Add missing extern "C" in unwind-arm.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
triplef authored and davidchisnall committed Dec 15, 2020
1 parent 15ae929 commit a088282
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions unwind-arm.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

/**
* ARM-specific unwind definitions. These are taken from the ARM EHABI
* specification.
Expand Down Expand Up @@ -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

0 comments on commit a088282

Please sign in to comment.