From e4f12d3893e4a42f6928355f4b5b6326b73b75aa Mon Sep 17 00:00:00 2001 From: Tenari Date: Fri, 3 Apr 2026 07:35:42 -0500 Subject: [PATCH] windows might have already defined these? --- src/base/all.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/base/all.h b/src/base/all.h index b2f8500..e123ac3 100644 --- a/src/base/all.h +++ b/src/base/all.h @@ -443,6 +443,7 @@ union Range1f32 DWORD output_mode; } TermIOs; // networking shim for windows +#ifndef POLLIN # define POLLIN 0x0001 # define POLLPRI 0x0002 # define POLLOUT 0x0004 @@ -455,6 +456,7 @@ union Range1f32 short events; short revents; } pollfd_t; +#endif typedef int nfds_t;