From f684d83d86e1990784816d4b243d724e6ab8304f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 1 Mar 2019 03:44:13 +0100 Subject: bpo-36142: Exclude coreconfig.h from Py_LIMITED_API (GH-12111) The whole coreconfig.h header is now excluded from Py_LIMITED_API. Move functions definitions into a new internal pycore_coreconfig.h header. * Move Include/coreconfig.h to Include/cpython/coreconfig.h * coreconfig.h header is now excluded from Py_LIMITED_API * Move functions to pycore_coreconfig.h --- Modules/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Modules/main.c') diff --git a/Modules/main.c b/Modules/main.c index f6e7889008..f373dab208 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -2,6 +2,7 @@ #include "Python.h" #include "osdefs.h" +#include "pycore_coreconfig.h" #include "pycore_getopt.h" #include "pycore_pathconfig.h" #include "pycore_pylifecycle.h" -- cgit v1.2.1