提交 83d2f015 编写于 作者: W Wu Tao 提交者: neverchanje

refactor: update rdsn and remove DSN_CORE_VERSION (#460)

上级 a58b2127
......@@ -64,24 +64,3 @@ pegasus_client *pegasus_client_factory_impl::get_client(const char *cluster_name
}
}
} // namespace
#if defined(__linux__)
#include <pegasus/version.h>
#include <pegasus/git_commit.h>
#include <dsn/version.h>
#include <dsn/git_commit.h>
#define STR_I(var) #var
#define STR(var) STR_I(var)
static char const rcsid[] =
"$Version: Pegasus Client " PEGASUS_VERSION " (" PEGASUS_GIT_COMMIT ")"
#if defined(DSN_BUILD_TYPE)
" " STR(DSN_BUILD_TYPE)
#endif
", built with rDSN " DSN_CORE_VERSION " (" DSN_GIT_COMMIT ")"
", built by gcc " STR(__GNUC__) "." STR(__GNUC_MINOR__) "." STR(__GNUC_PATCHLEVEL__)
#if defined(DSN_BUILD_HOSTNAME)
", built on " STR(DSN_BUILD_HOSTNAME)
#endif
", built at " __DATE__ " " __TIME__ " $";
const char *pegasus_client_rcsid() { return rcsid; }
#endif
......@@ -79,24 +79,3 @@ int main(int argc, char **argv)
}
return 0;
}
#if defined(__linux__)
#include <pegasus/version.h>
#include <pegasus/git_commit.h>
#include <dsn/version.h>
#include <dsn/git_commit.h>
#define STR_I(var) #var
#define STR(var) STR_I(var)
static char const rcsid[] =
"$Version: Pegasus Redis Proxy " PEGASUS_VERSION " (" PEGASUS_GIT_COMMIT ")"
#if defined(DSN_BUILD_TYPE)
" " STR(DSN_BUILD_TYPE)
#endif
", built with rDSN " DSN_CORE_VERSION " (" DSN_GIT_COMMIT ")"
", built by gcc " STR(__GNUC__) "." STR(__GNUC_MINOR__) "." STR(__GNUC_PATCHLEVEL__)
#if defined(DSN_BUILD_HOSTNAME)
", built on " STR(DSN_BUILD_HOSTNAME)
#endif
", built at " __DATE__ " " __TIME__ " $";
const char *pegasus_rproxy_rcsid() { return rcsid; }
#endif
......@@ -7,7 +7,6 @@
#include "info_collector_app.h"
#include "brief_stat.h"
#include <dsn/version.h>
#include <dsn/git_commit.h>
#include <pegasus/version.h>
#include <pegasus/git_commit.h>
......@@ -38,7 +37,7 @@ static char const rcsid[] =
#if defined(DSN_BUILD_TYPE)
" " STR(DSN_BUILD_TYPE)
#endif
", built with rDSN " DSN_CORE_VERSION " (" DSN_GIT_COMMIT ")"
", built with rDSN (" DSN_GIT_COMMIT ")"
", built by gcc " STR(__GNUC__) "." STR(__GNUC_MINOR__) "." STR(__GNUC_PATCHLEVEL__)
#if defined(DSN_BUILD_HOSTNAME)
", built on " STR(DSN_BUILD_HOSTNAME)
......
......@@ -642,20 +642,3 @@ int main(int argc, char **argv)
run();
return 0;
}
#include <dsn/git_commit.h>
#include <dsn/version.h>
#include <pegasus/git_commit.h>
#include <pegasus/version.h>
static char const rcsid[] =
"$Version: Pegasus Shell " PEGASUS_VERSION " (" PEGASUS_GIT_COMMIT ")"
#if defined(DSN_BUILD_TYPE)
" " STR(DSN_BUILD_TYPE)
#endif
", built with rDSN " DSN_CORE_VERSION " (" DSN_GIT_COMMIT ")"
", built by gcc " STR(__GNUC__) "." STR(__GNUC_MINOR__) "." STR(__GNUC_PATCHLEVEL__)
#if defined(DSN_BUILD_HOSTNAME)
", built on " STR(DSN_BUILD_HOSTNAME)
#endif
", built at " __DATE__ " " __TIME__ " $";
const char *pegasus_shell_rcsid() { return rcsid; }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册