In mimalloc we need to patch init.c: #if defined(_M_X64) || defined(_M_ARM64) to get rid of a link
error as well as in options.c some snprint issue with the mingw64 cross compiler:
/* HH */ snprintf(tprefix, sizeof(tprefix), "%sthread 0x%x: ", prefix, (unsigned) _mi_thread_id()); /* HH: %z is unknown */
When comparing the included source code of mimalloc with the original code it seem, you use an unmodified version of mimalloc, so I could dynamically link with mimalloc, instead of using the included version.
Would be nice if you could update the readme, if my assumption is correct. Thanks!
The source/libraries/readme.txt says:
When comparing the included source code of mimalloc with the original code it seem, you use an unmodified version of mimalloc, so I could dynamically link with mimalloc, instead of using the included version.
Would be nice if you could update the readme, if my assumption is correct. Thanks!