diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-05-07 21:13:50 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-05-07 21:13:50 +0300 |
commit | c2d970d7571c2a233aeb7e84e87cab74f2ce551b (patch) | |
tree | 827c9717ebc09aa31306dacd36fdc39785cb2cd5 /Modules/_multiprocessing | |
parent | 8b79e0959ff9c267c26be96cf740f1f712f97a02 (diff) | |
download | cpython-c2d970d7571c2a233aeb7e84e87cab74f2ce551b.tar.gz |
Issue #26924: Fix Windows buildbots
sem_unlink is defined as
#define SEM_UNLINK(name) 0
under Windows.
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r-- | Modules/_multiprocessing/multiprocessing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c index f6938f979d..d92a8bf21c 100644 --- a/Modules/_multiprocessing/multiprocessing.c +++ b/Modules/_multiprocessing/multiprocessing.c @@ -128,7 +128,7 @@ static PyMethodDef module_methods[] = { {"recv", multiprocessing_recv, METH_VARARGS, ""}, {"send", multiprocessing_send, METH_VARARGS, ""}, #endif -#if defined(HAVE_SEM_UNLINK) && !defined(POSIX_SEMAPHORES_NOT_ENABLED) && !defined(__ANDROID__) +#if !defined(POSIX_SEMAPHORES_NOT_ENABLED) && !defined(__ANDROID__) {"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""}, #endif {NULL} |