summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 114ac35..008ffa4 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -641,10 +641,18 @@ initselect(void)
insint(d, "POLLHUP", POLLHUP);
insint(d, "POLLNVAL", POLLNVAL);
+#ifdef POLLRDNORM
insint(d, "POLLRDNORM", POLLRDNORM);
+#endif
+#ifdef POLLRDBAND
insint(d, "POLLRDBAND", POLLRDBAND);
+#endif
+#ifdef POLLWRNORM
insint(d, "POLLWRNORM", POLLWRNORM);
+#endif
+#ifdef POLLWRBAND
insint(d, "POLLWRBAND", POLLWRBAND);
+#endif
#ifdef POLLMSG
insint(d, "POLLMSG", POLLMSG);
#endif