fixes to select module constants (#13174)

This commit is contained in:
Stephen Morton
2024-12-03 03:45:10 -08:00
committed by GitHub
parent c606b4f8ad
commit d5b0e4aa35
2 changed files with 6 additions and 5 deletions

View File

@@ -10,7 +10,8 @@ if sys.platform != "win32":
POLLERR: int
POLLHUP: int
POLLIN: int
POLLMSG: int
if sys.platform == "linux":
POLLMSG: int
POLLNVAL: int
POLLOUT: int
POLLPRI: int
@@ -77,7 +78,8 @@ if sys.platform != "linux" and sys.platform != "win32":
KQ_EV_ONESHOT: int
KQ_EV_SYSFLAGS: int
KQ_FILTER_AIO: int
KQ_FILTER_NETDEV: int
if sys.platform != "darwin":
KQ_FILTER_NETDEV: int
KQ_FILTER_PROC: int
KQ_FILTER_READ: int
KQ_FILTER_SIGNAL: int