Fix the MinGW build
This commit is contained in:
parent
8cb5338f35
commit
4e1e60fbf0
@ -124,7 +124,7 @@ class ChildProcess : ObjectWrap {
|
|||||||
static void watch(ChildProcess *child);
|
static void watch(ChildProcess *child);
|
||||||
static void CALLBACK watch_wait_callback(void *data, BOOLEAN didTimeout);
|
static void CALLBACK watch_wait_callback(void *data, BOOLEAN didTimeout);
|
||||||
static void notify_spawn_failure(ChildProcess *child);
|
static void notify_spawn_failure(ChildProcess *child);
|
||||||
static void notify_exit(uv_handle_t* watcher, int status);
|
static void notify_exit(uv_async_t* watcher, int status);
|
||||||
static int do_kill(ChildProcess *child, int sig);static void close_stdio_handles(ChildProcess *child);
|
static int do_kill(ChildProcess *child, int sig);static void close_stdio_handles(ChildProcess *child);
|
||||||
|
|
||||||
int pid_;
|
int pid_;
|
||||||
|
@ -351,7 +351,7 @@ void ChildProcess::close_stdio_handles(ChildProcess *child) {
|
|||||||
|
|
||||||
|
|
||||||
// Called from the main thread
|
// Called from the main thread
|
||||||
void ChildProcess::notify_exit(uv_handle_t* watcher, int status) {
|
void ChildProcess::notify_exit(uv_async_t* watcher, int status) {
|
||||||
// Get the child process, then release the lock
|
// Get the child process, then release the lock
|
||||||
ChildProcess *child = watcher_status.child;
|
ChildProcess *child = watcher_status.child;
|
||||||
|
|
||||||
|
@ -493,8 +493,8 @@ static inline void tty_emit_error(Handle<Value> err) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void tty_poll(uv_handle_t* handle, int status) {
|
static void tty_poll(uv_async_t* handle, int status) {
|
||||||
assert((uv_async_t*) handle == &tty_avail_notifier);
|
assert(handle == &tty_avail_notifier);
|
||||||
assert(status == 0);
|
assert(status == 0);
|
||||||
|
|
||||||
HandleScope scope;
|
HandleScope scope;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user