We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33ad497 commit ed434f3Copy full SHA for ed434f3
boot/bootutil/include/bootutil/image.h
@@ -36,10 +36,14 @@
36
extern "C" {
37
#endif
38
39
+#if defined(STRUCT_PACKED)
40
+#undef STRUCT_PACKED
41
+#endif
42
+
43
#if defined(__IAR_SYSTEMS_ICC__)
- #define STRUCT_PACKED __packed struct
44
+#define STRUCT_PACKED __packed struct
45
#else
- #define STRUCT_PACKED struct __attribute__((__packed__))
46
+#define STRUCT_PACKED struct __attribute__((__packed__))
47
48
49
struct flash_area;
0 commit comments