diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 2000-08-25 13:59:18 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 2000-08-25 13:59:18 (GMT) |
commit | 239f836c10425bb2514284dd4eb4fc63b206b587 (patch) | |
tree | 02bab04b73b426c24d3408efc7173609d7a158c4 /Modules | |
parent | d7b86f00563e5039bf527240f15936b47923fff4 (diff) | |
download | cpython-239f836c10425bb2514284dd4eb4fc63b206b587.zip cpython-239f836c10425bb2514284dd4eb4fc63b206b587.tar.gz cpython-239f836c10425bb2514284dd4eb4fc63b206b587.tar.bz2 |
Not every OS that support poll seems to support POLLMSG.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/selectmodule.c | 2 |
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 */ } |