From 239f836c10425bb2514284dd4eb4fc63b206b587 Mon Sep 17 00:00:00 2001 From: Sjoerd Mullender Date: Fri, 25 Aug 2000 13:59:18 +0000 Subject: Not every OS that support poll seems to support POLLMSG. --- Modules/selectmodule.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ } -- cgit v0.12