Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Add platform_none for cygwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Jun 18, 2010
1 parent 84c1026 commit 9bd3942
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions 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

0 comments on commit 9bd3942

Please sign in to comment.