diff options
Diffstat (limited to 'Modules/_multiprocessing/posixshmem.c')
-rw-r--r-- | Modules/_multiprocessing/posixshmem.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/_multiprocessing/posixshmem.c b/Modules/_multiprocessing/posixshmem.c index debef32..f4da9f7 100644 --- a/Modules/_multiprocessing/posixshmem.c +++ b/Modules/_multiprocessing/posixshmem.c @@ -2,6 +2,11 @@ posixshmem - A Python extension that provides shm_open() and shm_unlink() */ +// clinic/posixshmem.c.h uses internal pycore_modsupport.h API +#ifndef Py_BUILD_CORE_BUILTIN +# define Py_BUILD_CORE_MODULE 1 +#endif + #include <Python.h> // for shm_open() and shm_unlink() |