summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordaan <daanl@outlook.com>2021-12-18 11:34:02 -0800
committerdaan <daanl@outlook.com>2021-12-18 11:34:02 -0800
commit72a33c37ef14abc24d3a5cdbb2be806fd24cb382 (patch)
tree5fa6a9fb9ff34626d099fe1e91c72764f12954de /include
parent78e2e580f800b08a3dbb6d2eb383a55269a0f862 (diff)
merge from dev
Diffstat (limited to 'include')
-rw-r--r--include/mimalloc-types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mimalloc-types.h b/include/mimalloc-types.h
index 9f97f8f..957115c 100644
--- a/include/mimalloc-types.h
+++ b/include/mimalloc-types.h
@@ -172,13 +172,13 @@ typedef int32_t mi_ssize_t;
#endif
// Maximum slice offset (15)
-#define MI_MAX_SLICE_OFFSET ((MI_ALIGNED_MAX / MI_SEGMENT_SLICE_SIZE) - 1)
+#define MI_MAX_SLICE_OFFSET ((MI_ALIGNMENT_MAX / MI_SEGMENT_SLICE_SIZE) - 1)
// Used as a special value to encode block sizes in 32 bits.
#define MI_HUGE_BLOCK_SIZE ((uint32_t)MI_HUGE_OBJ_SIZE_MAX)
// blocks up to this size are always allocated aligned
-#define MI_MAX_ALIGN_GUARANTEE (8*MI_MAX_ALIGN_SIZE)
+#define MI_MAX_ALIGN_GUARANTEE (8*MI_MAX_ALIGN_SIZE)