Browse Source

Compensate for uv_async_init api change

v0.7.4-release
Bert Belder 14 years ago
parent
commit
2eb1274d6c
  1. 2
      src/node_child_process_win32.cc
  2. 2
      src/node_stdio_win32.cc

2
src/node_child_process_win32.cc

@ -883,7 +883,7 @@ void ChildProcess::Initialize(Handle<Object> target) {
target->Set(String::NewSymbol("ChildProcess"), t->GetFunction());
uv_async_init(&watcher_status.async_watcher, notify_exit, NULL, NULL);
uv_async_init(&watcher_status.async_watcher, notify_exit);
watcher_status.lock = CreateSemaphore(NULL, 1, 1, NULL);
}

2
src/node_stdio_win32.cc

@ -658,7 +658,7 @@ static Handle<Value> StopTTYWatcher(const Arguments& args) {
void Stdio::Initialize(v8::Handle<v8::Object> target) {
init_scancode_table();
uv_async_init(&tty_avail_notifier, tty_poll, NULL, NULL);
uv_async_init(&tty_avail_notifier, tty_poll);
uv_unref();
name_symbol = NODE_PSYMBOL("name");

Loading…
Cancel
Save