diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2017-09-12 01:30:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 01:30:43 (GMT) |
commit | fc1bf872e9d31f3e837f686210f94e57ad3d6582 (patch) | |
tree | 022ec284a8087f2704288cb675889574f5cca8ca /Modules | |
parent | 8728018624f257c7cfe44014742ae46134047f49 (diff) | |
download | cpython-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.c | 2 | ||||
-rw-r--r-- | Modules/_pickle.c | 2 |
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 |