mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
allow overriding MI_MAX_ALIGN_SIZE
This commit is contained in:
parent
3f8ff12e66
commit
8033b62979
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue