lwip-sys with changes
Fork of lwip-sys by
Diff: arch/cc.h
- Revision:
- 15:7d4b24b58e04
- Parent:
- 10:09b0951b1899
diff -r ba056f7b4b37 -r 7d4b24b58e04 arch/cc.h --- a/arch/cc.h Thu Nov 06 11:00:51 2014 +0000 +++ b/arch/cc.h Thu Mar 12 14:31:45 2015 +0000 @@ -71,8 +71,8 @@ #define PACK_STRUCT_STRUCT #define PACK_STRUCT_END #define PACK_STRUCT_FIELD(fld) fld -// #define PACK_STRUCT_USE_INCLUDES - #error NEEDS ALIGNED // FIXME TBD + #define IAR_STR(a) #a + #define ALIGNED(n) _Pragma(IAR_STR(data_alignment= ## n ##)) #else /* GCC tools (CodeSourcery) */ #define PACK_STRUCT_BEGIN