We now support POLLPRI so actually define it.

This commit is contained in:
Darren Tucker 2022-02-10 22:17:31 +11:00
parent 25bd659cc7
commit 3ac00dfeb5

View File

@ -46,13 +46,13 @@ typedef struct pollfd {
} pollfd_t;
#define POLLIN 0x0001
#define POLLPRI 0x0002
#define POLLOUT 0x0004
#define POLLERR 0x0008
#define POLLHUP 0x0010
#define POLLNVAL 0x0020
#if 0
/* the following are currently not implemented */
#define POLLPRI 0x0002
#define POLLRDNORM 0x0040
#define POLLNORM POLLRDNORM
#define POLLWRNORM POLLOUT