Browse Source

There is no child process support for windows yet

v0.7.4-release
Bert Belder 14 years ago
parent
commit
b4510d57dc
  1. 4
      src/node_child_process.cc
  2. 2
      src/node_extensions.h

4
src/node_child_process.cc

@ -1,3 +1,5 @@
#ifdef __POSIX__
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org> // Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
#include <node_child_process.h> #include <node_child_process.h>
#include <node.h> #include <node.h>
@ -378,3 +380,5 @@ int ChildProcess::Kill(int sig) {
} // namespace node } // namespace node
NODE_MODULE(node_child_process, node::ChildProcess::Initialize); NODE_MODULE(node_child_process, node::ChildProcess::Initialize);
#endif // __POSIX__

2
src/node_extensions.h

@ -2,7 +2,9 @@
NODE_EXT_LIST_START NODE_EXT_LIST_START
NODE_EXT_LIST_ITEM(node_buffer) NODE_EXT_LIST_ITEM(node_buffer)
NODE_EXT_LIST_ITEM(node_cares) NODE_EXT_LIST_ITEM(node_cares)
#ifdef __POSIX__
NODE_EXT_LIST_ITEM(node_child_process) NODE_EXT_LIST_ITEM(node_child_process)
#endif
#ifdef HAVE_OPENSSL #ifdef HAVE_OPENSSL
NODE_EXT_LIST_ITEM(node_crypto) NODE_EXT_LIST_ITEM(node_crypto)
#endif #endif

Loading…
Cancel
Save