mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Remove node_io_watcher
This commit is contained in:
1 parent
34fc97880f
commit
2c5828b65b
4 files changed
-243
No files matched your search
-10
@@ -63,9 +63,6 @@ typedef int mode_t;
|
||||
#endif
|
||||
|
||||
#include "node_buffer.h"
|
||||
#ifdef __POSIX__
|
||||
# include "node_io_watcher.h"
|
||||
#endif
|
||||
#include "node_file.h"
|
||||
#include "node_http_parser.h"
|
||||
#include "node_constants.h"
|
||||
@@ -1862,13 +1859,6 @@ static Handle<Value> Binding(const Arguments& args) {
|
||||
DefineConstants(exports);
|
||||
binding_cache->Set(module, exports);
|
||||
|
||||
#ifdef __POSIX__
|
||||
} else if (!strcmp(*module_v, "io_watcher")) {
|
||||
exports = Object::New();
|
||||
IOWatcher::Initialize(exports);
|
||||
binding_cache->Set(module, exports);
|
||||
#endif
|
||||
|
||||
} else if (!strcmp(*module_v, "natives")) {
|
||||
exports = Object::New();
|
||||
DefineJavaScript(exports);
|
||||
|
||||
Reference in new issue
Block a user