From b4510d57dc7b36d8384d6653d84f034001051909 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Thu, 25 Nov 2010 01:11:14 +0100 Subject: [PATCH] There is no child process support for windows yet --- src/node_child_process.cc | 4 ++++ src/node_extensions.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/node_child_process.cc b/src/node_child_process.cc index 8848a79cdb..000817316a 100644 --- a/src/node_child_process.cc +++ b/src/node_child_process.cc @@ -1,3 +1,5 @@ +#ifdef __POSIX__ + // Copyright 2009 Ryan Dahl #include #include @@ -378,3 +380,5 @@ int ChildProcess::Kill(int sig) { } // namespace node NODE_MODULE(node_child_process, node::ChildProcess::Initialize); + +#endif // __POSIX__ diff --git a/src/node_extensions.h b/src/node_extensions.h index 131d34e6f1..a7db557ecb 100644 --- a/src/node_extensions.h +++ b/src/node_extensions.h @@ -2,7 +2,9 @@ NODE_EXT_LIST_START NODE_EXT_LIST_ITEM(node_buffer) NODE_EXT_LIST_ITEM(node_cares) +#ifdef __POSIX__ NODE_EXT_LIST_ITEM(node_child_process) +#endif #ifdef HAVE_OPENSSL NODE_EXT_LIST_ITEM(node_crypto) #endif