summaryrefslogtreecommitdiff
path: root/src/node_os.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-01-13 20:32:14 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-01-13 20:32:36 -0800
commit9bcfc0745c83e5e8e60e8a4a53bab5c2d3609c60 (patch)
tree87d42797842500de85dd8735f3e46e5fd588087d /src/node_os.cc
parent496be457b6a2bc5b01ec13644b9c9783976159b2 (diff)
downloadnode-9bcfc0745c83e5e8e60e8a4a53bab5c2d3609c60.tar.gz
Revert "Implement os.isWindows"
This reverts commit 9e31e0837ec3c5a88ed477bec3980dd4608046be. Use process.platform == 'win32'
Diffstat (limited to 'src/node_os.cc')
-rw-r--r--src/node_os.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/node_os.cc b/src/node_os.cc
index fd6395e94..758648835 100644
--- a/src/node_os.cc
+++ b/src/node_os.cc
@@ -145,12 +145,6 @@ void OS::Initialize(v8::Handle<v8::Object> target) {
NODE_SET_METHOD(target, "getCPUs", GetCPUInfo);
NODE_SET_METHOD(target, "getOSType", GetOSType);
NODE_SET_METHOD(target, "getOSRelease", GetOSRelease);
-
-#ifdef __POSIX__
- target->Set(String::New("isWindows"), False());
-#else // __MINGW32__
- target->Set(String::New("isWindows"), True());
-#endif
}