[Python-checkins] cpython: fix condition (#14296)

benjamin.peterson python-checkins at python.org
Fri Mar 16 16:13:40 CET 2012


http://hg.python.org/cpython/rev/17980cb07625
changeset:   75743:17980cb07625
parent:      75739:c0a6569fdad6
user:        Benjamin Peterson <benjamin at python.org>
date:        Fri Mar 16 10:12:55 2012 -0500
summary:
  fix condition (#14296)

files:
  Modules/posixmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -107,7 +107,7 @@
 #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
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list