From fc1bf872e9d31f3e837f686210f94e57ad3d6582 Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Mon, 11 Sep 2017 18:30:43 -0700 Subject: bpo-30860: Move windows.h include out of internal/*.h. (#3458) PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them. --- Modules/_json.c | 2 +- Modules/_pickle.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Modules') diff --git a/Modules/_json.c b/Modules/_json.c index f1da2302dd..769696d9d6 100644 --- a/Modules/_json.c +++ b/Modules/_json.c @@ -1,7 +1,7 @@ /* Core extension modules are built-in on some platforms (e.g. Windows). */ #ifdef Py_BUILD_CORE -#define Py_BUILD_CORE_MODULE +#define Py_BUILD_CORE_BUILTIN #undef Py_BUILD_CORE #endif diff --git a/Modules/_pickle.c b/Modules/_pickle.c index 5fbf0995f4..bcbe4ac794 100644 --- a/Modules/_pickle.c +++ b/Modules/_pickle.c @@ -1,7 +1,7 @@ /* Core extension modules are built-in on some platforms (e.g. Windows). */ #ifdef Py_BUILD_CORE -#define Py_BUILD_CORE_MODULE +#define Py_BUILD_CORE_BUILTIN #undef Py_BUILD_CORE #endif -- cgit v1.2.1