windows might have already defined these?
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user