diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-06-06 09:33:47 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-06-06 09:33:47 +0000 |
commit | ed8a14e6880b1ec6f065c6267d4ee86ae1cdb745 (patch) | |
tree | 325331c343a5e0c3c9d59161fe3cdc18afb45493 /demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/cc.h | |
parent | 079f323649c9adcbb49791903f357fb90681628e (diff) | |
download | ChibiOS-ed8a14e6880b1ec6f065c6267d4ee86ae1cdb745.tar.gz ChibiOS-ed8a14e6880b1ec6f065c6267d4ee86ae1cdb745.tar.bz2 ChibiOS-ed8a14e6880b1ec6f065c6267d4ee86ae1cdb745.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3031 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/cc.h')
-rw-r--r-- | demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/cc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/cc.h b/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/cc.h index b90b447e2..ecac81e09 100644 --- a/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/cc.h +++ b/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/arch/cc.h @@ -71,5 +71,14 @@ typedef uint32_t mem_ptr_t; }
#define BYTE_ORDER LITTLE_ENDIAN
+#define LWIP_PROVIDE_ERRNO
+
+#define PACK_STRUCT_BEGIN
+#ifdef PACK_STRUCT_STRUCT
+#undef PACK_STRUCT_STRUCT
+#endif
+#define PACK_STRUCT_STRUCT __attribute__ ((__packed__))
+#define PACK_STRUCT_END
+#define PACK_STRUCT_FIELD(x) x
#endif /* __CC_H__ */
|