Skip to content

Commit

Permalink
fix mingw build
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryRawas authored and ry committed Jun 29, 2011
1 parent be1b552 commit dd175a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/node.cc
Expand Up @@ -1890,10 +1890,12 @@ static Handle<Value> Binding(const Arguments& args) {
#endif

} else if (!strcmp(*module_v, "timer")) {
#ifdef __POSIX__
exports = Object::New();
Timer::Initialize(exports);
binding_cache->Set(module, exports);

#endif
} else if (!strcmp(*module_v, "natives")) {
exports = Object::New();
DefineJavaScript(exports);
Expand Down

0 comments on commit dd175a4

Please sign in to comment.