mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-08 00:09:31 +03:00
Merge branch 'dev' into dev2
This commit is contained in:
commit
49c3dbec63
1 changed files with 4 additions and 0 deletions
|
@ -79,7 +79,11 @@ typedef struct mi_option_desc_s {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MI_DEFAULT_ALLOW_LARGE_OS_PAGES
|
#ifndef MI_DEFAULT_ALLOW_LARGE_OS_PAGES
|
||||||
|
#if defined(__linux__) && !defined(__ANDROID__)
|
||||||
#define MI_DEFAULT_ALLOW_LARGE_OS_PAGES 1
|
#define MI_DEFAULT_ALLOW_LARGE_OS_PAGES 1
|
||||||
|
#else
|
||||||
|
#define MI_DEFAULT_ALLOW_LARGE_OS_PAGES 0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef MI_DEFAULT_RESERVE_HUGE_OS_PAGES
|
#ifndef MI_DEFAULT_RESERVE_HUGE_OS_PAGES
|
||||||
|
|
Loading…
Add table
Reference in a new issue