mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Apply patch for netbsd multiprocessing support
This commit is contained in:
parent
3476d1279f
commit
40a6164afa
3 changed files with 15 additions and 2 deletions
9
setup.py
9
setup.py
|
@ -1280,6 +1280,15 @@ class PyBuildExt(build_ext):
|
|||
)
|
||||
libraries = []
|
||||
|
||||
elif platform.startswith('netbsd'):
|
||||
macros = dict( # at least NetBSD 5
|
||||
HAVE_SEM_OPEN=1,
|
||||
HAVE_SEM_TIMEDWAIT=0,
|
||||
HAVE_FD_TRANSFER=1,
|
||||
HAVE_BROKEN_SEM_GETVALUE=1
|
||||
)
|
||||
libraries = []
|
||||
|
||||
else: # Linux and other unices
|
||||
macros = dict(
|
||||
HAVE_SEM_OPEN=1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue