mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-09-13 02:05:43 +00:00
added 8-byte alignment for 64-bit architectures
This commit is contained in:
parent
7399722a88
commit
3c339323ed
@ -54,6 +54,8 @@ struct mem {
|
|||||||
u16_t used;
|
u16_t used;
|
||||||
#elif MEM_ALIGNMENT == 4
|
#elif MEM_ALIGNMENT == 4
|
||||||
u32_t used;
|
u32_t used;
|
||||||
|
#elif MEM_ALIGNMENT == 8
|
||||||
|
u64_t used;
|
||||||
#else
|
#else
|
||||||
#error "unhandled MEM_ALIGNMENT size"
|
#error "unhandled MEM_ALIGNMENT size"
|
||||||
#endif /* MEM_ALIGNMENT */
|
#endif /* MEM_ALIGNMENT */
|
||||||
|
Loading…
Reference in New Issue
Block a user