diff --git a/src/node.h b/src/node.h index 14d726de26..0c398a9c07 100644 --- a/src/node.h +++ b/src/node.h @@ -39,7 +39,7 @@ namespace node { int Start (int argc, char *argv[]); -#define NODE_PSYMBOL(s) Persistent::New(String::NewSymbol(s)) +#define NODE_PSYMBOL(s) v8::Persistent::New(v8::String::NewSymbol(s)) /* Converts a unixtime to V8 Date */ #define NODE_UNIXTIME_V8(t) v8::Date::New(1000*static_cast(t))