allow compilation if SVNREV is not defined

This commit is contained in:
Patrick Parker 2007-04-20 02:37:53 +00:00
parent 608f637d81
commit 4853c26f7e

View File

@ -1930,7 +1930,11 @@ int main(int argc, char** argv)
#endif #endif
try { try {
std::cerr << "Battle for Wesnoth v" << VERSION << " (" << SVNREV << ")\n"; std::cerr << "Battle for Wesnoth v" << VERSION
#ifdef SVNREV
<< " (" << SVNREV << ')'
#endif
<< '\n';
time_t t = time(NULL); time_t t = time(NULL);
std::cerr << "Started on " << ctime(&t) << "\n"; std::cerr << "Started on " << ctime(&t) << "\n";