mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 15:29:53 +00:00
allow compilation if SVNREV is not defined
This commit is contained in:
parent
608f637d81
commit
4853c26f7e
@ -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";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user