From: Sjoerd Mullender Date: Fri, 25 Aug 2000 13:59:18 +0000 (+0000) Subject: Not every OS that support poll seems to support POLLMSG. X-Git-Tag: v2.0b1~249 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=239f836c10425bb2514284dd4eb4fc63b206b587;p=thirdparty%2FPython%2Fcpython.git Not every OS that support poll seems to support POLLMSG. --- diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 0c6771f112dd..1c747a5e0298 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 */ }