From: Bert Belder Date: Fri, 26 Nov 2010 00:27:14 +0000 (+0100) Subject: Re-enable stat watchers on windows X-Git-Tag: v0.3.4~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bea5e6eff6b2a9104da504cca0db01ed15cb90ae;p=platform%2Fupstream%2Fnodejs.git Re-enable stat watchers on windows This reverts commit b8a99f94167a25f63ae096d9d5e2cc9cf70cecef. --- diff --git a/src/node_file.cc b/src/node_file.cc index 9eb0489..638479a 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -851,9 +851,7 @@ void InitFs(Handle target) { stats_constructor_template = Persistent::New(stat_templ); target->Set(String::NewSymbol("Stats"), stats_constructor_template->GetFunction()); -#ifdef __POSIX__ StatWatcher::Initialize(target); -#endif // __POSIX__ File::Initialize(target); } diff --git a/src/node_stat_watcher.cc b/src/node_stat_watcher.cc index 5173f1a..bbc4fdf 100644 --- a/src/node_stat_watcher.cc +++ b/src/node_stat_watcher.cc @@ -1,5 +1,3 @@ -#ifdef __POSIX__ - // Copyright 2009 Ryan Dahl #include @@ -113,5 +111,3 @@ void StatWatcher::Stop () { } // namespace node - -#endif // __POSIX__