[revert] [lwip] IAR环境 结构体恢复到之前状态

This commit is contained in:
mysterywolf 2020-10-24 18:39:31 +08:00
parent bd91d5497e
commit 22f8b142b6
3 changed files with 7 additions and 7 deletions

View File

@ -84,9 +84,9 @@ typedef uintptr_t mem_ptr_t;
#define PACK_STRUCT_BEGIN #define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END #define PACK_STRUCT_END
#elif defined(__IAR_SYSTEMS_ICC__) /* IAR Compiler */ #elif defined(__IAR_SYSTEMS_ICC__) /* IAR Compiler */
#define PACK_STRUCT_BEGIN #pragma pack(1) #define PACK_STRUCT_BEGIN
#define PACK_STRUCT_STRUCT #define PACK_STRUCT_STRUCT
#define PACK_STRUCT_END #pragma pack() #define PACK_STRUCT_END
#define PACK_STRUCT_FIELD(x) x #define PACK_STRUCT_FIELD(x) x
#define PACK_STRUCT_USE_INCLUDES #define PACK_STRUCT_USE_INCLUDES
#elif defined(__GNUC__) /* GNU GCC Compiler */ #elif defined(__GNUC__) /* GNU GCC Compiler */

View File

@ -63,9 +63,9 @@
#define PACK_STRUCT_BEGIN #define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END #define PACK_STRUCT_END
#elif defined(__IAR_SYSTEMS_ICC__) /* IAR Compiler */ #elif defined(__IAR_SYSTEMS_ICC__) /* IAR Compiler */
#define PACK_STRUCT_BEGIN #pragma pack(1) #define PACK_STRUCT_BEGIN
#define PACK_STRUCT_STRUCT #define PACK_STRUCT_STRUCT
#define PACK_STRUCT_END #pragma pack() #define PACK_STRUCT_END
#define PACK_STRUCT_FIELD(x) x #define PACK_STRUCT_FIELD(x) x
#define PACK_STRUCT_USE_INCLUDES #define PACK_STRUCT_USE_INCLUDES
#elif defined(__GNUC__) /* GNU GCC Compiler */ #elif defined(__GNUC__) /* GNU GCC Compiler */

View File

@ -77,9 +77,9 @@
#define PACK_STRUCT_BEGIN #define PACK_STRUCT_BEGIN
#define PACK_STRUCT_END #define PACK_STRUCT_END
#elif defined(__IAR_SYSTEMS_ICC__) /* IAR Compiler */ #elif defined(__IAR_SYSTEMS_ICC__) /* IAR Compiler */
#define PACK_STRUCT_BEGIN #pragma pack(1) #define PACK_STRUCT_BEGIN
#define PACK_STRUCT_STRUCT #define PACK_STRUCT_STRUCT
#define PACK_STRUCT_END #pragma pack() #define PACK_STRUCT_END
#define PACK_STRUCT_FIELD(x) x #define PACK_STRUCT_FIELD(x) x
#define PACK_STRUCT_USE_INCLUDES #define PACK_STRUCT_USE_INCLUDES
#elif defined(__GNUC__) /* GNU GCC Compiler */ #elif defined(__GNUC__) /* GNU GCC Compiler */