add EPOLLEXCLUSIVE

This commit is contained in:
Benjamin Peterson 2016-07-18 22:02:44 -07:00
parent 96e97169cc
commit 0715ce358a
3 changed files with 42 additions and 32 deletions

View file

@ -2479,6 +2479,9 @@ PyInit_select(void)
/* Kernel 2.6.2+ */
PyModule_AddIntMacro(m, EPOLLONESHOT);
#endif
#ifdef EPOLLEXCLUSIVE
PyModule_AddIntMacro(m, EPOLLEXCLUSIVE);
#endif
#ifdef EPOLLRDNORM
PyModule_AddIntMacro(m, EPOLLRDNORM);