added SVN_REVISION to rsversion to not overwrite LIB_VERSION

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-12-16 21:54:46 +00:00
parent cfcd773d6e
commit e5cd917645
3 changed files with 9 additions and 3 deletions

View file

@ -9,5 +9,6 @@
std::string RsUtil::retroshareVersion()
{
return std::string(LIB_VERSION);
return std::string(LIB_VERSION) + " " + std::string(SVN_REVISION);
}

View file

@ -7,10 +7,15 @@
#include <string>
#define LIB_VERSION "0.5.x"
#define LIB_VERSION "0.5.0"
#define SVN_REVISION ""
namespace RsUtil {
std::string retroshareVersion();
}