diff options
author | Dino Viehland <dinoviehland@fb.com> | 2023-10-31 18:54:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 18:54:35 (GMT) |
commit | c42347d025b29e993a12925a3ddf58c0c9bb7f7b (patch) | |
tree | eec79ee9298f231802edcb241d37d51b8fe5f31c /PC/pyconfig.h | |
parent | 244567398370bfa62a332676762bb1db395c02fc (diff) | |
download | cpython-c42347d025b29e993a12925a3ddf58c0c9bb7f7b.zip cpython-c42347d025b29e993a12925a3ddf58c0c9bb7f7b.tar.gz cpython-c42347d025b29e993a12925a3ddf58c0c9bb7f7b.tar.bz2 |
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
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r-- | PC/pyconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index ac20129..e6b368c 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -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 |