Add support for aligned allocation on Windows using VirtualAlloc2

This commit is contained in:
daan 2019-06-28 19:48:30 -07:00
parent 38eb0a9449
commit 6eaf387891
4 changed files with 62 additions and 11 deletions

View file

@ -28,7 +28,6 @@ we therefore test the API over various inputs. Please add more tests :-)
#include "mimalloc.h"
#include "mimalloc-internal.h"
// ---------------------------------------------------------------------------
// Test macros: CHECK(name,predicate) and CHECK_BODY(name,body)
// ---------------------------------------------------------------------------
@ -140,7 +139,6 @@ int main() {
CHECK("heap_destroy", test_heap1());
CHECK("heap_delete", test_heap2());
// ---------------------------------------------------
// Done
// ---------------------------------------------------[]