diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-05-07 18:13:50 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-05-07 18:13:50 (GMT) |
commit | 1a269d09f65c69d9deecf943472335becd63ff06 (patch) | |
tree | 88d92b8e6ff8ed03ae4b9346becb8005b4efb036 /Modules/_multiprocessing | |
parent | 0ce9cd985b7c8a13de538c071e44856f5c7001d2 (diff) | |
download | cpython-1a269d09f65c69d9deecf943472335becd63ff06.zip cpython-1a269d09f65c69d9deecf943472335becd63ff06.tar.gz cpython-1a269d09f65c69d9deecf943472335becd63ff06.tar.bz2 |
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 f6938f9..d92a8bf 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} |