]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix condition (#14296)
authorBenjamin Peterson <benjamin@python.org>
Fri, 16 Mar 2012 15:12:55 +0000 (10:12 -0500)
committerBenjamin Peterson <benjamin@python.org>
Fri, 16 Mar 2012 15:12:55 +0000 (10:12 -0500)
Modules/posixmodule.c

index 631201f2078c826a9bf31f43c198d9bcf0e05d21..03b3b9562549a0bf22744eda71000f5c7ac88983 100644 (file)
@@ -107,7 +107,7 @@ corresponding Unix manual entries for more information on calls.");
 #include <sched.h>
 #endif
 
-#if defined(CPU_ALLOC) && defined(HAVE_SCHED_SETAFFINITY)
+#if !defined(CPU_ALLOC) && defined(HAVE_SCHED_SETAFFINITY)
 #undef HAVE_SCHED_SETAFFINITY
 #endif