Kaydet (Commit) 0ce9cd98 authored tarafından Berker Peksag's avatar Berker Peksag

Issue #26924: Do not define _multiprocessing.sem_unlink under Android

Android declares sem_unlink but doesn't implement it.
üst ca716cfb
...@@ -128,7 +128,7 @@ static PyMethodDef module_methods[] = { ...@@ -128,7 +128,7 @@ static PyMethodDef module_methods[] = {
{"recv", multiprocessing_recv, METH_VARARGS, ""}, {"recv", multiprocessing_recv, METH_VARARGS, ""},
{"send", multiprocessing_send, METH_VARARGS, ""}, {"send", multiprocessing_send, METH_VARARGS, ""},
#endif #endif
#ifndef POSIX_SEMAPHORES_NOT_ENABLED #if defined(HAVE_SEM_UNLINK) && !defined(POSIX_SEMAPHORES_NOT_ENABLED) && !defined(__ANDROID__)
{"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""}, {"sem_unlink", _PyMp_sem_unlink, METH_VARARGS, ""},
#endif #endif
{NULL} {NULL}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment