diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-07-30 23:22:24 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-07-30 23:22:24 -0700 |
| commit | bf5868d2c5a9bc742b69172820a34ea88bfe2591 (patch) | |
| tree | e47a64c7135d2e362f659fa1c2fd9a9969fe0383 /Modules/posixmodule.c | |
| parent | 607e1c4c44131fd77e714620d127151149152345 (diff) | |
| parent | dbaa559b7fc6b80c1f230119f609b99b5b3844f3 (diff) | |
| download | cpython-git-bf5868d2c5a9bc742b69172820a34ea88bfe2591.tar.gz | |
merge 3.5 (#27656)
Diffstat (limited to 'Modules/posixmodule.c')
| -rw-r--r-- | Modules/posixmodule.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 424daac99e..54685ae7f0 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -12938,9 +12938,15 @@ all_ins(PyObject *m) #endif #ifdef HAVE_SCHED_H +#ifdef SCHED_OTHER if (PyModule_AddIntMacro(m, SCHED_OTHER)) return -1; +#endif +#ifdef SCHED_FIFO if (PyModule_AddIntMacro(m, SCHED_FIFO)) return -1; +#endif +#ifdef SCHED_RR if (PyModule_AddIntMacro(m, SCHED_RR)) return -1; +#endif #ifdef SCHED_SPORADIC if (PyModule_AddIntMacro(m, SCHED_SPORADIC) return -1; #endif |
