projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be1b552
)
fix mingw build
author
Henry Rawas
<henryr@schakra.com>
Wed, 29 Jun 2011 16:59:45 +0000
(09:59 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Wed, 29 Jun 2011 17:12:26 +0000
(19:12 +0200)
src/node.cc
patch
|
blob
|
history
diff --git
a/src/node.cc
b/src/node.cc
index
55ca0d1
..
70f9141
100644
(file)
--- a/
src/node.cc
+++ b/
src/node.cc
@@
-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);