diff --git a/binding.gyp b/binding.gyp index 1ca15925..ae225c8b 100644 --- a/binding.gyp +++ b/binding.gyp @@ -62,6 +62,7 @@ "src/node-constants.cc", "src/settings.cc", ], + "cflags": [ '-DLLNODE_VERSION=SetColor("auto"); diff --git a/src/llnode.h b/src/llnode.h index 5a02425f..b7d6cf86 100644 --- a/src/llnode.h +++ b/src/llnode.h @@ -100,6 +100,12 @@ class GetActiveRequestsCmd : public WorkqueueCmd { std::string GetResultMessage(node::Environment* env, Error& err) override; }; +class GetLLNodeVersionCmd : public CommandBase { + public: + bool DoExecute(lldb::SBDebugger d, char** cmd, + lldb::SBCommandReturnObject& result) override; +}; + } // namespace llnode