diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-10-31 20:19:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 20:19:24 +0100 |
commit | 2be00d987d37682a55db67c298e82c405d01b868 (patch) | |
tree | effedc3003c8a19764ba20f44a63501e66e58327 /Python/pystate.c | |
parent | b08746bfdf64e55ce33516f2065fa2aa4f51be95 (diff) | |
download | cpython-git-2be00d987d37682a55db67c298e82c405d01b868.tar.gz |
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 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index d04981121c..98e954d9d9 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -2,6 +2,7 @@ /* Thread and interpreter state structures and their interfaces */ #include "Python.h" +#include "internal/mem.h" #include "internal/pystate.h" #define _PyThreadState_SET(value) \ |