Mercurial > cpython-lru_cache-weakref
diff setup.py @ 52550:6ddbdfdb7a86 2.6
Merged revisions 70849 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70849 | jesse.noller | 2009-03-31 13:12:35 -0500 (Tue, 31 Mar 2009) | 1 line
Apply patch for netbsd multiprocessing support
........
| author | Jesse Noller <jnoller@gmail.com> |
|---|---|
| date | Tue, 31 Mar 2009 18:20:48 +0000 |
| parents | c8a8ec87ff1f |
| children | 4cccf3ce15a0 |
line wrap: on
line diff
--- a/setup.py Tue Mar 31 15:01:45 2009 +0000 +++ b/setup.py Tue Mar 31 18:20:48 2009 +0000 @@ -1291,6 +1291,15 @@ ) 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,
