summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-01-10 15:22:40 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-01-10 15:22:40 (GMT)
commit463753831c1c50a079d04db210bf120dc0a5411c (patch)
tree9e61d3fbe377d669e696146ca8ea1f6deae4825d /Modules/posixmodule.c
parentcce440fab84dc4a3beec755894ac2daa57e173ec (diff)
downloadcpython-463753831c1c50a079d04db210bf120dc0a5411c.zip
cpython-463753831c1c50a079d04db210bf120dc0a5411c.tar.gz
cpython-463753831c1c50a079d04db210bf120dc0a5411c.tar.bz2
fix build when SCHED_SPORADIC is defined (closes #20217)
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 c00ca20..905b1de 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -11863,7 +11863,7 @@ all_ins(PyObject *d)
if (ins(d, "SCHED_FIFO", (long)SCHED_FIFO)) return -1;
if (ins(d, "SCHED_RR", (long)SCHED_RR)) return -1;
#ifdef SCHED_SPORADIC
- if (ins(d, "SCHED_SPORADIC", (long)SCHED_SPORADIC) return -1;
+ if (ins(d, "SCHED_SPORADIC", (long)SCHED_SPORADIC)) return -1;
#endif
#ifdef SCHED_BATCH
if (ins(d, "SCHED_BATCH", (long)SCHED_BATCH)) return -1;