mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-03 22:19:32 +03:00
Compare commits
3 commits
c6efd76933
...
ccda6b576e
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ccda6b576e | ||
![]() |
951538d469 | ||
![]() |
bc8eca8bf2 |
2 changed files with 4 additions and 1 deletions
|
@ -32,6 +32,9 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
#if defined(__linux__)
|
||||
#include <features.h>
|
||||
#include <sys/prctl.h> // THP disable, PR_SET_VMA
|
||||
#if !defined(PR_SET_VMA)
|
||||
#include <linux/prctl.h>
|
||||
#endif
|
||||
#if defined(__GLIBC__)
|
||||
#include <linux/mman.h> // linux mmap flags
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue