Fix platform availability of some Unix constants (#10857)

This commit is contained in:
Alex Waygood
2023-10-07 15:05:20 -07:00
committed by GitHub
parent 8acf1944f3
commit e4edcf23e0
6 changed files with 22 additions and 20 deletions
-1
View File
@@ -137,7 +137,6 @@ if sys.platform == "linux":
EPOLLRDNORM: int
EPOLLWRBAND: int
EPOLLWRNORM: int
EPOLL_RDHUP: int
EPOLL_CLOEXEC: int
if sys.platform != "linux" and sys.platform != "darwin" and sys.platform != "win32":