added 8-byte alignment for 64-bit architectures

This commit is contained in:
lukem 2004-02-20 00:45:47 +00:00
parent 7399722a88
commit 3c339323ed

View File

@ -54,6 +54,8 @@ struct mem {
u16_t used;
#elif MEM_ALIGNMENT == 4
u32_t used;
#elif MEM_ALIGNMENT == 8
u64_t used;
#else
#error "unhandled MEM_ALIGNMENT size"
#endif /* MEM_ALIGNMENT */