chore: only enable EV64 for 64 bit non-x86
This commit is contained in:
parent
8dd6969c54
commit
c69dc66bd6
@ -451,7 +451,7 @@ int uv__iou_fs_unlink(uv_loop_t* loop, uv_fs_t* req);
|
||||
int uv___stream_fd(const uv_stream_t* handle);
|
||||
#define uv__stream_fd(handle) (uv___stream_fd((const uv_stream_t*) (handle)))
|
||||
|
||||
#ifdef EV64
|
||||
#if defined(EV64) && defined(__LP64__) && !defined(__i386__)
|
||||
#define SET_EVENT(a, b, c, d, e) EV_SET64(a, b, c, d, e, 0, 0, 0, 0)
|
||||
#define KEVENT(a, b, c, d, e, f, g) kevent64(a, b, c, d, e, f, g)
|
||||
#define KEVENT_S struct kevent64_s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user