mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-08-24 16:24:47 +03:00
move prim files in subdirectories
This commit is contained in:
parent
2e85af5bb2
commit
8a1f6c82b2
4 changed files with 12 additions and 6 deletions
|
@ -9,10 +9,10 @@ terms of the MIT license. A copy of the license can be found in the file
|
|||
// depending on the OS.
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include "prim-windows.c" // VirtualAlloc (Windows)
|
||||
#include "windows/prim.c" // VirtualAlloc (Windows)
|
||||
#elif defined(__wasi__)
|
||||
#define MI_USE_SBRK
|
||||
#include "prim-wasi.h" // memory-grow or sbrk (Wasm)
|
||||
#include "wasi/prim.h" // memory-grow or sbrk (Wasm)
|
||||
#else
|
||||
#include "prim-unix.c" // mmap() (Linux, macOSX, BSD, Illumnos, Haiku, DragonFly, etc.)
|
||||
#include "unix/prim.c" // mmap() (Linux, macOSX, BSD, Illumnos, Haiku, DragonFly, etc.)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue