allow overriding MI_MAX_ALIGN_SIZE

This commit is contained in:
daan 2020-08-29 09:59:15 -07:00
parent 3f8ff12e66
commit 8033b62979

View File

@ -14,7 +14,9 @@ terms of the MIT license. A copy of the license can be found in the file
// Minimal alignment necessary. On most platforms 16 bytes are needed
// due to SSE registers for example. This must be at least `MI_INTPTR_SIZE`
#ifndef MI_MAX_ALIGN_SIZE
#define MI_MAX_ALIGN_SIZE 16 // sizeof(max_align_t)
#endif
// ------------------------------------------------------
// Variants