mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #21704: Fix build error for _multiprocessing when semaphores
are not available. Patch by Arfrever Frehtes Taifersar Arahesis.
This commit is contained in:
parent
7611964b2c
commit
e0e65817e5
3 changed files with 6 additions and 0 deletions
|
@ -128,7 +128,9 @@ static PyMethodDef module_methods[] = {
|
|||
{"recv", multiprocessing_recv, METH_VARARGS, ""},
|
||||
{"send", multiprocessing_send, METH_VARARGS, ""},
|
||||
#endif
|
||||
#ifndef POSIX_SEMAPHORES_NOT_ENABLED
|
||||
{"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""},
|
||||
#endif
|
||||
{NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue