From e0db84ed21e116dfac1bd9d93782fe26d2ad8059 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Mon, 22 Sep 2008 13:18:08 +0000 Subject: [PATCH] Added extra compiler specific structure packing options. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@477 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Demo/Common/ethernet/lwIP_130/src/netif/ppp/vjbsdhdr.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Demo/Common/ethernet/lwIP_130/src/netif/ppp/vjbsdhdr.h b/Demo/Common/ethernet/lwIP_130/src/netif/ppp/vjbsdhdr.h index c641ee472..6c247c641 100644 --- a/Demo/Common/ethernet/lwIP_130/src/netif/ppp/vjbsdhdr.h +++ b/Demo/Common/ethernet/lwIP_130/src/netif/ppp/vjbsdhdr.h @@ -11,6 +11,9 @@ * against negative integers quite easily, and fail in subtle ways. */ PACK_STRUCT_BEGIN +#if (defined(__MWERKS__) || defined(__CWCC__)) + #pragma options align= packed +#endif struct ip { #if defined(NO_CHAR_BITFIELDS) @@ -47,6 +50,9 @@ typedef u32_t tcp_seq; * Per RFC 793, September, 1981. */ PACK_STRUCT_BEGIN +#if (defined(__MWERKS__) || defined(__CWCC__)) + #pragma options align= packed +#endif struct tcphdr { u_short th_sport; /* source port */ -- 2.39.5