summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-03-16 15:12:55 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-03-16 15:12:55 (GMT)
commit2dbda07a1736270717ec194b90b11c7bf71b606c (patch)
tree5eaada697833753f1de944d74605d7b1eea734f1 /Modules/posixmodule.c
parentf53d20f2cd99442bde8e8b93bfe46627d05383fc (diff)
downloadcpython-2dbda07a1736270717ec194b90b11c7bf71b606c.zip
cpython-2dbda07a1736270717ec194b90b11c7bf71b606c.tar.gz
cpython-2dbda07a1736270717ec194b90b11c7bf71b606c.tar.bz2
fix condition (#14296)
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 631201f..03b3b95 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -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