diff options
Diffstat (limited to 'Modules/_pickle.c')
| -rw-r--r-- | Modules/_pickle.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c index 25255368a1..5fbf0995f4 100644 --- a/Modules/_pickle.c +++ b/Modules/_pickle.c @@ -1,3 +1,10 @@ + +/* Core extension modules are built-in on some platforms (e.g. Windows). */ +#ifdef Py_BUILD_CORE +#define Py_BUILD_CORE_MODULE +#undef Py_BUILD_CORE +#endif + #include "Python.h" #include "structmember.h" |
