gh-90815: Exclude mimalloc .c files from Windows build (#111532)

* Don't include mimalloc .c's in Windows build
* Fix warnings on Windows related to mimalloc
This commit is contained in:
Dino Viehland 2023-10-31 11:54:35 -07:00 committed by GitHub
parent 2445673983
commit c42347d025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 121 deletions

View file

@ -511,6 +511,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* Use Python's own small-block memory-allocator. */
#define WITH_PYMALLOC 1
/* Define if you want to compile in mimalloc memory allocator. */
#define WITH_MIMALLOC 1
/* Define if you want to compile in object freelists optimization */
#define WITH_FREELISTS 1