From 2be00d987d37682a55db67c298e82c405d01b868 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 31 Oct 2018 20:19:24 +0100 Subject: 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. --- Python/pylifecycle.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/pylifecycle.c') diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index f1579c781d..78691a54f3 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -6,6 +6,7 @@ #undef Yield /* undefine macro conflicting with winbase.h */ #include "internal/context.h" #include "internal/hamt.h" +#include "internal/mem.h" #include "internal/pystate.h" #include "grammar.h" #include "node.h" -- cgit v1.2.1