From: richardbarry Date: Fri, 22 Apr 2011 14:13:51 +0000 (+0000) Subject: Add pack_struct_start and pack_struct_end definitions for ICCARM. X-Git-Tag: V7.0.1~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1545b9483f431b908eb6d56e07e36cc01585d792;p=freertos Add pack_struct_start and pack_struct_end definitions for ICCARM. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1376 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_end.h b/Demo/Common/ethernet/FreeTCPIP/net/pack_struct_end.h index 522a859af..8a5951fca 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 94bc0f522..efa41a0a4 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