Commit 4ce61d7d authored by roel0's avatar roel0

#478 ARM Compiler defines for packed struct/unions

parent 881b3ab2
......@@ -26,6 +26,11 @@
# define PEDANTIC_STRUCT_DEF struct
# define PACKED_UNION_DEF _Packed union
# define WEAK
#elif defined __CC_ARM
# define PACKED_STRUCT_DEF struct __attribute__((__packed__))
# define PEDANTIC_STRUCT_DEF struct __attribute__((__packed__))
# define PACKED_UNION_DEF union __attribute__((__packed__))
# define WEAK __attribute__((weak))
#else
# define PACKED_STRUCT_DEF struct __attribute__((packed))
# define PEDANTIC_STRUCT_DEF struct
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment