summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-11-28 10:44:20 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-11-28 10:44:20 (GMT)
commit5afa6d4dcf6e11d2ba4c10fb4b9b860930130df8 (patch)
tree0de65de4eb35a6d011841293a793d4c2917a0798 /setup.py
parent761ae0b8cc73c77d8f398f3c6ae5018b77198335 (diff)
downloadcpython-5afa6d4dcf6e11d2ba4c10fb4b9b860930130df8.zip
cpython-5afa6d4dcf6e11d2ba4c10fb4b9b860930130df8.tar.gz
cpython-5afa6d4dcf6e11d2ba4c10fb4b9b860930130df8.tar.bz2
Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
to indicate that semaphores aren't available; define a new variable POSIX_SEMAPHORES_NOT_ENABLED instead.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 75ff11f..d7ef51e 100644
--- a/setup.py
+++ b/setup.py
@@ -1316,7 +1316,7 @@ class PyBuildExt(build_ext):
'_multiprocessing/socket_connection.c'
]
if (sysconfig.get_config_var('HAVE_SEM_OPEN') and not
- sysconfig.get_config_var('HAVE_BROKEN_POSIX_SEMAPHORES')):
+ sysconfig.get_config_var('POSIX_SEMAPHORES_NOT_ENABLED')):
multiprocessing_srcs.append('_multiprocessing/semaphore.c')
if sysconfig.get_config_var('WITH_THREAD'):