fix sched defines

This commit is contained in:
Benjamin Peterson 2011-08-02 18:11:38 -05:00
parent c5fce4ded2
commit 0163c9aa0c
1 changed files with 1 additions and 1 deletions

View File

@ -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;