From 290e7bd222eead5ad7b190964ccd61e6f2b6a4f0 Mon Sep 17 00:00:00 2001 From: Richard Barry Date: Fri, 22 Apr 2011 14:13:51 +0000 Subject: [PATCH] Add pack_struct_start and pack_struct_end definitions for ICCARM. --- Demo/Common/ethernet/FreeTCPIP/net/pack_struct_end.h | 5 +++++ Demo/Common/ethernet/FreeTCPIP/net/pack_struct_start.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_end.h b/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_end.h index 522a859af6..8a5951fca7 100644 --- a/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_end.h +++ b/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_end.h @@ -21,3 +21,8 @@ ; #pragma pack() #endif + +#ifdef __ICCARM__ + ; + #pragma pack() +#endif diff --git a/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_start.h b/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_start.h index 94bc0f522c..efa41a0a4d 100644 --- a/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_start.h +++ b/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_start.h @@ -22,3 +22,8 @@ #ifdef __ICCRX__ #pragma pack(1) #endif + + +#ifdef __ICCARM__ + #pragma pack(1) +#endif