Update the FreeTCPIP files such that Keil is happy compiling them with the pack struct header file definitions.

This commit is contained in:
Richard Barry 2011-04-28 19:38:32 +00:00
parent 44fc593dfe
commit 96b1dc773f
4 changed files with 19 additions and 7 deletions

View File

@ -26,3 +26,8 @@
;
#pragma pack()
#endif
#ifdef __CC_ARM
;
#endif

View File

@ -27,3 +27,8 @@
#ifdef __ICCARM__
#pragma pack(1)
#endif
#ifdef __CC_ARM
__packed
#endif

View File

@ -69,12 +69,14 @@
typedef uip_ip6addr_t uip_ipaddr_t;
#else /* UIP_CONF_IPV6 */
#include "pack_struct_start.h"
typedef union uip_ip4addr_t
{
u8_t u8[4]; /* Initializer, must come first!!! */
u16_t u16[2];
} uip_ip4addr_t;
typedef uip_ip4addr_t uip_ipaddr_t;
typedef uip_ip4addr_t uip_ipaddr_t
#include "pack_struct_end.h"
#endif /* UIP_CONF_IPV6 */
/*---------------------------------------------------------------------------*/