64 |
|
#include "brains/ForceField.hpp" |
65 |
|
#include "utils/simError.h" |
66 |
|
#include "utils/StringUtils.hpp" |
67 |
+ |
#include "utils/Revision.hpp" |
68 |
|
#include "math/SeqRandNumGen.hpp" |
69 |
|
#include "mdParser/MDLexer.hpp" |
70 |
|
#include "mdParser/MDParser.hpp" |
273 |
|
version.append("."); |
274 |
|
version.append(OPENMD_VERSION_MINOR); |
275 |
|
|
276 |
< |
std::string svnrev; |
276 |
> |
std::string svnrev(g_REVISION, strnlen(g_REVISION, 20)); |
277 |
|
//convert a macro from compiler to a string in c++ |
278 |
< |
STR_DEFINE(svnrev, SVN_REV ); |
278 |
> |
// STR_DEFINE(svnrev, SVN_REV ); |
279 |
|
version.append(" Revision: "); |
280 |
|
// If there's no SVN revision, just call this the RELEASE revision. |
281 |
|
if (!svnrev.empty()) { |