mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
fix sched defines
This commit is contained in:
parent
c5fce4ded2
commit
0163c9aa0c
1 changed files with 1 additions and 1 deletions
|
@ -10950,7 +10950,7 @@ INITFUNC(void)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SCHED_H
|
#if defined(HAVE_SCHED_SETPARAM) || defined(HAVE_SCHED_SETSCHEDULER)
|
||||||
sched_param_desc.name = MODNAME ".sched_param";
|
sched_param_desc.name = MODNAME ".sched_param";
|
||||||
PyStructSequence_InitType(&SchedParamType, &sched_param_desc);
|
PyStructSequence_InitType(&SchedParamType, &sched_param_desc);
|
||||||
SchedParamType.tp_new = sched_param_new;
|
SchedParamType.tp_new = sched_param_new;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue