summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2017-09-12 01:30:43 (GMT)
committerGitHub <noreply@github.com>2017-09-12 01:30:43 (GMT)
commitfc1bf872e9d31f3e837f686210f94e57ad3d6582 (patch)
tree022ec284a8087f2704288cb675889574f5cca8ca /Modules
parent8728018624f257c7cfe44014742ae46134047f49 (diff)
downloadcpython-fc1bf872e9d31f3e837f686210f94e57ad3d6582.zip
cpython-fc1bf872e9d31f3e837f686210f94e57ad3d6582.tar.gz
cpython-fc1bf872e9d31f3e837f686210f94e57ad3d6582.tar.bz2
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.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_json.c2
-rw-r--r--Modules/_pickle.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_json.c b/Modules/_json.c
index f1da230..769696d 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 5fbf099..bcbe4ac 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