include: reorder UV_HANDLE_PRIVATE_FIELDS

The fields for UV_HANDLE_PRIVATE_FIELDS in uv-win.h and uv-unix.h are
the same, but in different order. Simply swap them so uv_handle_t are
the same on both platforms.

Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
Trevor Norris 2014-04-14 16:18:39 -07:00 committed by Fedor Indutny
parent 1daff47ae9
commit f212ceffae

View File

@ -218,8 +218,8 @@ typedef struct {
uv_buf_t bufsml[4]; \
#define UV_HANDLE_PRIVATE_FIELDS \
int flags; \
uv_handle_t* next_closing; \
unsigned int flags; \
#define UV_STREAM_PRIVATE_FIELDS \
uv_connect_t *connect_req; \