mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Re-enable stat watchers on windows
This reverts commit b8a99f94167a25f63ae096d9d5e2cc9cf70cecef.
This commit is contained in:
@@ -851,9 +851,7 @@ void InitFs(Handle<Object> target) {
|
||||
stats_constructor_template = Persistent<FunctionTemplate>::New(stat_templ);
|
||||
target->Set(String::NewSymbol("Stats"),
|
||||
stats_constructor_template->GetFunction());
|
||||
#ifdef __POSIX__
|
||||
StatWatcher::Initialize(target);
|
||||
#endif // __POSIX__
|
||||
File::Initialize(target);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#ifdef __POSIX__
|
||||
|
||||
// Copyright 2009 Ryan Dahl <ry@tinyclouds.org>
|
||||
#include <node_stat_watcher.h>
|
||||
|
||||
@@ -113,5 +111,3 @@ void StatWatcher::Stop () {
|
||||
|
||||
|
||||
} // namespace node
|
||||
|
||||
#endif // __POSIX__
|
||||
|
||||
Reference in New Issue
Block a user