Commit d7d92be7 authored by Benjamin Peterson's avatar Benjamin Peterson

fix sched defines

parent 6d360a83
...@@ -10950,7 +10950,7 @@ INITFUNC(void) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment