commit | 40a6164afa79f6b97e7e40e0f35f6081fde437c2 | [log] [tgz] |
---|---|---|
author | Jesse Noller <jnoller@gmail.com> | Tue Mar 31 18:12:35 2009 +0000 |
committer | Jesse Noller <jnoller@gmail.com> | Tue Mar 31 18:12:35 2009 +0000 |
tree | 3451eabd1be9e42982a3d13ef770bd924e6377b1 | |
parent | 3476d1279f469125c62bcea8a84ab65c1e271152 [diff] [blame] |
Apply patch for netbsd multiprocessing support
diff --git a/setup.py b/setup.py index f1e983d..d3b39ba 100644 --- a/setup.py +++ b/setup.py
@@ -1280,6 +1280,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,