mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -04:00
Update the FreeTCPIP files such that Keil is happy compiling them with the pack struct header file definitions.
This commit is contained in:
parent
44fc593dfe
commit
96b1dc773f
4 changed files with 19 additions and 7 deletions
|
@ -69,12 +69,14 @@
|
|||
|
||||
typedef uip_ip6addr_t uip_ipaddr_t;
|
||||
#else /* UIP_CONF_IPV6 */
|
||||
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;
|
||||
#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
|
||||
#include "pack_struct_end.h"
|
||||
#endif /* UIP_CONF_IPV6 */
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue