1 | /* ---------------------------------------------------------------------------- |
2 | Copyright (c) 2018, Microsoft Research, Daan Leijen |
3 | This is free software; you can redistribute it and/or modify it under the |
4 | terms of the MIT license. A copy of the license can be found in the file |
5 | "LICENSE" at the root of this distribution. |
6 | -----------------------------------------------------------------------------*/ |
7 | #define _DEFAULT_SOURCE |
8 | |
9 | #include "mimalloc.h" |
10 | #include "mimalloc-internal.h" |
11 | |
12 | // For a static override we create a single object file |
13 | // containing the whole library. If it is linked first |
14 | // it will override all the standard library allocation |
15 | // functions (on Unix's). |
16 | #include "stats.c" |
17 | #include "os.c" |
18 | #include "memory.c" |
19 | #include "segment.c" |
20 | #include "page.c" |
21 | #include "heap.c" |
22 | #include "alloc.c" |
23 | #include "alloc-aligned.c" |
24 | #include "alloc-posix.c" |
25 | #include "init.c" |
26 | #include "options.c" |
27 | |