Commit 36d97ebd authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

Add #ifdef's for platforms that don't have the constants POLLRDNORM and

    friends.  (Modified version of patch #101682 from Neil Schemenauer)
parent 0cdfc92a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment