From 9bd3942f702fa4135986947b7cd4eb49d5c1addf Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 18 Jun 2010 09:46:18 -0700 Subject: [PATCH] Add platform_none for cygwin build --- src/platform_none.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/platform_none.cc diff --git a/src/platform_none.cc b/src/platform_none.cc new file mode 100644 index 0000000000..8494c45a95 --- /dev/null +++ b/src/platform_none.cc @@ -0,0 +1,16 @@ +#include "node.h" +#include "platform.h" + + +namespace node { + + +int OS::GetMemory(size_t *rss, size_t *vsize) { + // Not implemented + *rss = 0; + *vsize = 0; + return 0; +} + + +} // namespace node