From 1545b9483f431b908eb6d56e07e36cc01585d792 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Fri, 22 Apr 2011 14:13:51 +0000 Subject: [PATCH] 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 --- 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 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 -- 2.39.5