diff options
author | 2018-10-31 20:19:24 +0100 | |
---|---|---|
committer | 2018-10-31 20:19:24 +0100 | |
commit | 2be00d987d37682a55db67c298e82c405d01b868 (patch) | |
tree | effedc3003c8a19764ba20f44a63501e66e58327 /Objects/obmalloc.c | |
parent | bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. ... (diff) | |
download | cpython-2be00d987d37682a55db67c298e82c405d01b868.tar.gz cpython-2be00d987d37682a55db67c298e82c405d01b868.tar.bz2 cpython-2be00d987d37682a55db67c298e82c405d01b868.zip |
bpo-35081: Move Py_BUILD_CORE code to internal/mem.h (GH-10249)
* Add #include "internal/mem.h" to C files using
_PyMem_SetDefaultAllocator().
* Include/internal/mem.h now requires Py_BUILD_CORE to be defined.
Diffstat (limited to 'Objects/obmalloc.c')
-rw-r--r-- | Objects/obmalloc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index fbc94780690..88ded83a29e 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -1,4 +1,5 @@ #include "Python.h" +#include "internal/mem.h" #include <stdbool.h> |