windows might have already defined these?

This commit is contained in:
Tenari
2026-04-03 07:35:42 -05:00
parent 2bde1c04ee
commit e4f12d3893
+2
View File
@@ -443,6 +443,7 @@ union Range1f32
DWORD output_mode; DWORD output_mode;
} TermIOs; } TermIOs;
// <poll.h> networking shim for windows // <poll.h> networking shim for windows
#ifndef POLLIN
# define POLLIN 0x0001 # define POLLIN 0x0001
# define POLLPRI 0x0002 # define POLLPRI 0x0002
# define POLLOUT 0x0004 # define POLLOUT 0x0004
@@ -455,6 +456,7 @@ union Range1f32
short events; short events;
short revents; short revents;
} pollfd_t; } pollfd_t;
#endif
typedef int nfds_t; typedef int nfds_t;