summaryrefslogtreecommitdiff
path: root/include/libunwind-arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libunwind-arm.h')
-rw-r--r--include/libunwind-arm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libunwind-arm.h b/include/libunwind-arm.h
index ea14577b..1a6c6b6d 100644
--- a/include/libunwind-arm.h
+++ b/include/libunwind-arm.h
@@ -33,7 +33,11 @@ extern "C" {
#include <stddef.h>
#ifndef UNW_EMPTY_STRUCT
-# define UNW_EMPTY_STRUCT
+# ifdef __GNUC__
+# define UNW_EMPTY_STRUCT
+# else
+# define UNW_EMPTY_STRUCT uint8_t unused;
+# endif
#endif
#define UNW_TARGET arm