summaryrefslogtreecommitdiffstats
path: root/Modules/_multiprocessing
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-12-14 17:39:09 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-12-14 17:39:09 (GMT)
commit10db4dec61d85ad7e09c37e2d463c19fac06f9cf (patch)
treeb2e7def44b5a5e02602ebc9903857139b5df60e8 /Modules/_multiprocessing
parent3bfc65a25ba2e010ef12db0cff006c2cbbeb18f9 (diff)
downloadcpython-10db4dec61d85ad7e09c37e2d463c19fac06f9cf.zip
cpython-10db4dec61d85ad7e09c37e2d463c19fac06f9cf.tar.gz
cpython-10db4dec61d85ad7e09c37e2d463c19fac06f9cf.tar.bz2
Issue #4028: Make multiprocessing build on SunOS.
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r--Modules/_multiprocessing/multiprocessing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c
index 83df1eb..ee250e0 100644
--- a/Modules/_multiprocessing/multiprocessing.c
+++ b/Modules/_multiprocessing/multiprocessing.c
@@ -8,7 +8,7 @@
#include "multiprocessing.h"
-#ifdef SCM_RIGHTS
+#if (defined(CMSG_LEN) && defined(SCM_RIGHTS))
#define HAVE_FD_TRANSFER 1
#else
#define HAVE_FD_TRANSFER 0