mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 22:49:32 +03:00
Fix macro spelling
This commit is contained in:
parent
4326bda2c7
commit
04b1fd7b8d
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ void mi_process_init(void) mi_attr_noexcept {
|
||||||
_mi_heap_main.thread_id = _mi_thread_id();
|
_mi_heap_main.thread_id = _mi_thread_id();
|
||||||
_mi_verbose_message("process init: 0x%zx\n", _mi_heap_main.thread_id);
|
_mi_verbose_message("process init: 0x%zx\n", _mi_heap_main.thread_id);
|
||||||
uintptr_t random = _mi_random_init(_mi_heap_main.thread_id) ^ (uintptr_t)h;
|
uintptr_t random = _mi_random_init(_mi_heap_main.thread_id) ^ (uintptr_t)h;
|
||||||
#ifndef __APPLE
|
#ifndef __APPLE__
|
||||||
_mi_heap_main.cookie = (uintptr_t)&_mi_heap_main ^ random;
|
_mi_heap_main.cookie = (uintptr_t)&_mi_heap_main ^ random;
|
||||||
#endif
|
#endif
|
||||||
_mi_heap_main.random = _mi_random_shuffle(random);
|
_mi_heap_main.random = _mi_random_shuffle(random);
|
||||||
|
|
Loading…
Add table
Reference in a new issue