select.POLLRDHUP does not exist on macos (#10823)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2023-10-02 11:59:29 +01:00
1 parent 66d183fc56
commit 07e611d41f
2 files changed
+2 -2

No files matched your search

+2 -1
View File
@@ -15,7 +15,8 @@ if sys.platform != "win32":
POLLOUT: int
POLLPRI: int
POLLRDBAND: int
POLLRDHUP: int
if sys.platform == "linux":
POLLRDHUP: int
POLLRDNORM: int
POLLWRBAND: int
POLLWRNORM: int