Put POLL into the handle_map, so handle_size returns the size of it correctly.

This commit is contained in:
Andrius Bentkus 2012-05-05 17:05:12 +02:00 committed by Bert Belder
parent b5f9bc861f
commit 985b961d4e

View File

@ -143,6 +143,7 @@ typedef enum {
XX(FS_EVENT, fs_event) \
XX(IDLE, idle) \
XX(NAMED_PIPE, pipe) \
XX(POLL, poll) \
XX(PREPARE, prepare) \
XX(PROCESS, process) \
XX(TCP, tcp) \
@ -164,7 +165,6 @@ typedef enum {
#define XX(uc, lc) UV_##uc,
UV_HANDLE_TYPE_MAP(XX)
#undef XX
UV_POLL,
UV_FILE,
UV_HANDLE_TYPE_PRIVATE
UV_HANDLE_TYPE_MAX