Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 239f836

Browse files
Not every OS that support poll seems to support POLLMSG.
1 parent d7b86f0 commit 239f836

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/selectmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,8 @@ initselect(void)
657657
insint(d, "POLLRDBAND", POLLRDBAND);
658658
insint(d, "POLLWRNORM", POLLWRNORM);
659659
insint(d, "POLLWRBAND", POLLWRBAND);
660+
#ifdef POLLMSG
660661
insint(d, "POLLMSG", POLLMSG);
662+
#endif
661663
#endif /* HAVE_POLL */
662664
}

0 commit comments

Comments
 (0)