diff --git a/src/node.h b/src/node.h index e2c58d3445..2bc831d963 100644 --- a/src/node.h +++ b/src/node.h @@ -38,7 +38,7 @@ int Start (int argc, char *argv[]); do { \ v8::Local __callback##_SIG = v8::Signature::New(templ); \ v8::Local __callback##_TEM = \ - FunctionTemplate::New(callback, v8::Handle(), \ + v8::FunctionTemplate::New(callback, v8::Handle(), \ __callback##_SIG); \ templ->PrototypeTemplate()->Set(v8::String::NewSymbol(name), \ __callback##_TEM); \