diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-08-02 23:11:38 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-08-02 23:11:38 (GMT) |
commit | 0163c9aa0cb0b3a6ada1bf351ee84375cc5dc9e8 (patch) | |
tree | 824d5bd4a3043ac33927b9331926c0a44feca9c8 /Modules | |
parent | c5fce4ded24da1624abf6574ed0dbf762a5079e8 (diff) | |
download | cpython-0163c9aa0cb0b3a6ada1bf351ee84375cc5dc9e8.zip cpython-0163c9aa0cb0b3a6ada1bf351ee84375cc5dc9e8.tar.gz cpython-0163c9aa0cb0b3a6ada1bf351ee84375cc5dc9e8.tar.bz2 |
fix sched defines
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index d7a03ce..752fdf7 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -10950,7 +10950,7 @@ INITFUNC(void) # endif #endif -#ifdef HAVE_SCHED_H +#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER) sched_param_desc.name = MODNAME ".sched_param"; PyStructSequence_InitType(&SchedParamType, &sched_param_desc); SchedParamType.tp_new = sched_param_new; |