summaryrefslogtreecommitdiffstats
path: root/Modules/selectmodule.c
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>2000-08-25 13:59:18 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>2000-08-25 13:59:18 (GMT)
commit239f836c10425bb2514284dd4eb4fc63b206b587 (patch)
tree02bab04b73b426c24d3408efc7173609d7a158c4 /Modules/selectmodule.c
parentd7b86f00563e5039bf527240f15936b47923fff4 (diff)
downloadcpython-239f836c10425bb2514284dd4eb4fc63b206b587.zip
cpython-239f836c10425bb2514284dd4eb4fc63b206b587.tar.gz
cpython-239f836c10425bb2514284dd4eb4fc63b206b587.tar.bz2
Not every OS that support poll seems to support POLLMSG.
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r--Modules/selectmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 0c6771f..1c747a5 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -657,6 +657,8 @@ initselect(void)
insint(d, "POLLRDBAND", POLLRDBAND);
insint(d, "POLLWRNORM", POLLWRNORM);
insint(d, "POLLWRBAND", POLLWRBAND);
+#ifdef POLLMSG
insint(d, "POLLMSG", POLLMSG);
+#endif
#endif /* HAVE_POLL */
}