Author: sapient
Date: Fri Apr 20 04:37:53 2007
New Revision: 16941
URL: http://svn.gna.org/viewcvs/wesnoth?rev=16941&view=rev
Log:
allow compilation if SVNREV is not defined
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=16941&r1=16940&r2=16941&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Fri Apr 20 04:37:53 2007
@@ -1930,7 +1930,11 @@
#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";
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits