Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 55f1c764028d204a63fc54f5502c5a6fd0390102..5c604368920a35c5aa81feb6818219b59c697a43 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -683,7 +683,7 @@ Handle<ObjectTemplate> Shell::CreateGlobalTemplate() { |
global_template->Set(String::New("lol_is_enabled"), False()); |
#endif |
-#ifndef V8_SHARED |
+#if !defined(V8_SHARED) && !defined(_WIN32) && !defined(_WIN64) |
Yang
2011/09/06 14:37:51
There is no windows implementation of the os objec
|
Handle<ObjectTemplate> os_templ = ObjectTemplate::New(); |
AddOSMethods(os_templ); |
global_template->Set(String::New("os"), os_templ); |