]> granicus.if.org Git - python/commitdiff
Issue #4028: Make multiprocessing build on SunOS.
authorCharles-François Natali <neologix@free.fr>
Wed, 14 Dec 2011 17:39:09 +0000 (18:39 +0100)
committerCharles-François Natali <neologix@free.fr>
Wed, 14 Dec 2011 17:39:09 +0000 (18:39 +0100)
Modules/_multiprocessing/multiprocessing.c

index 83df1eb7503a1bd07a3ad27542dc886a5473dbe6..ee250e00439a05f5eda44a20bade590b4ad2e2b6 100644 (file)
@@ -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