diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-07-19 05:02:44 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-07-19 05:02:44 (GMT) |
commit | 0715ce358af2e8ad5606a6e369ecc9489326a34c (patch) | |
tree | 3dcf29b861f8f6c2c2f67412eaa734bba63879ad /Modules/selectmodule.c | |
parent | 96e97169ccf5b2cdd4eea267205f96535e037ec6 (diff) | |
download | cpython-0715ce358af2e8ad5606a6e369ecc9489326a34c.zip cpython-0715ce358af2e8ad5606a6e369ecc9489326a34c.tar.gz cpython-0715ce358af2e8ad5606a6e369ecc9489326a34c.tar.bz2 |
add EPOLLEXCLUSIVE
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r-- | Modules/selectmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index fa71d6e..c84c3cc 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -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); |