ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/applications/openmd/openmd.cpp
(Generate patch)

Comparing trunk/src/applications/openmd/openmd.cpp (file contents):
Revision 1969 by gezelter, Wed Feb 26 14:14:50 2014 UTC vs.
Revision 1976 by gezelter, Wed Mar 12 20:01:15 2014 UTC

# Line 50 | Line 50
50   #include <locale>
51   #include "utils/simError.h"
52   #include "utils/CaseConversion.hpp"
53 + #include "utils/Revision.hpp"
54   #include "brains/Register.hpp"
55   #include "brains/SimCreator.hpp"
56   #include "brains/SimInfo.hpp"
# Line 78 | Line 79 | int main(int argc, char* argv[]){
79    initSimError();           // the error handler
80    //srand48( 1337 );          // the random number generator.
81  
82 <  std::string svnrev;
82 >  std::string svnrev(g_REVISION, strnlen(g_REVISION, 20));
83    //convert a macro from compiler to a string in c++
84 <  STR_DEFINE(svnrev, SVN_REV );
84 >  //STR_DEFINE(svnrev, SVN_REV );
85  
86    std::string revision;
87  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines