summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-07-19 05:02:44 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-07-19 05:02:44 (GMT)
commit0715ce358af2e8ad5606a6e369ecc9489326a34c (patch)
tree3dcf29b861f8f6c2c2f67412eaa734bba63879ad /Modules/selectmodule.c
parent96e97169ccf5b2cdd4eea267205f96535e037ec6 (diff)
downloadcpython-0715ce358af2e8ad5606a6e369ecc9489326a34c.zip
cpython-0715ce358af2e8ad5606a6e369ecc9489326a34c.tar.gz
cpython-0715ce358af2e8ad5606a6e369ecc9489326a34c.tar.bz2
add EPOLLEXCLUSIVE
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c3
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);