From a967d4fa0f0b7d9514567687b9260fcf77cc6008 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 29 Jan 2024 17:32:54 +0000 Subject: Use `mimalloc` on Windows as a replacement for `HeapAlloc` --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d77f135a1..79be58995 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2367,6 +2367,9 @@ gb_internal void init_terminal(void) { } int main(int arg_count, char const **arg_ptr) { +#if defined(MIMALLOC_H) + (void)mi_version(); +#endif if (arg_count < 2) { usage(make_string_c(arg_ptr[0])); return 1; -- cgit v1.2.3