LibC: Make poll and epoll macros match with each other
This was an assertion in one of my ports and I couldn't be bothered to write a patch for it :D
This commit is contained in:
@@ -19,14 +19,14 @@ struct pollfd
|
||||
typedef unsigned long nfds_t;
|
||||
|
||||
#define POLLIN 0x001
|
||||
#define POLLRDNORM 0x002
|
||||
#define POLLRDBAND 0x004
|
||||
#define POLLPRI 0x008
|
||||
#define POLLOUT 0x010
|
||||
#define POLLWRNORM 0x020
|
||||
#define POLLWRBAND 0x040
|
||||
#define POLLERR 0x080
|
||||
#define POLLHUP 0x100
|
||||
#define POLLOUT 0x002
|
||||
#define POLLERR 0x004
|
||||
#define POLLHUP 0x008
|
||||
#define POLLPRI 0x010
|
||||
#define POLLRDNORM 0x020
|
||||
#define POLLRDBAND 0x040
|
||||
#define POLLWRNORM 0x080
|
||||
#define POLLWRBAND 0x100
|
||||
#define POLLNVAL 0x200
|
||||
|
||||
int poll(struct pollfd fds[], nfds_t nfds, int timeout);
|
||||
|
||||
Reference in New Issue
Block a user