cpython: eee959fee5f5 (original) (raw)

Mercurial > cpython

changeset 101261:eee959fee5f5

Issue #26924: Fix Windows buildbots sem_unlink is defined as #define SEM_UNLINK(name) 0 under Windows. [#26924]

Berker Peksag berker.peksag@gmail.com
date Sat, 07 May 2016 21:13:50 +0300
parents 1030aa8357a7
children a8883951b2ff
files Modules/_multiprocessing/multiprocessing.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Modules/_multiprocessing/multiprocessing.c 2

line wrap: on

line diff

--- 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}