From 4853c26f7edbf840b90457e17a41ea2fec952574 Mon Sep 17 00:00:00 2001 From: Patrick Parker Date: Fri, 20 Apr 2007 02:37:53 +0000 Subject: [PATCH] allow compilation if SVNREV is not defined --- src/game.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/game.cpp b/src/game.cpp index 5e865786690..954023ff3b5 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1930,7 +1930,11 @@ int main(int argc, char** argv) #endif 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); std::cerr << "Started on " << ctime(&t) << "\n";