summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-12-05 18:52:42 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-12-05 18:52:42 +0000
commit06dbc332021867d868dd5f1a57fdd92902e73e74 (patch)
tree08196c924ef479145384e1d32fdd95b5598c72e2 /src/main.cpp
parent5e695dfaa659614d76e4215619625aa74134400f (diff)
downloadmana-client-06dbc332021867d868dd5f1a57fdd92902e73e74.tar.gz
mana-client-06dbc332021867d868dd5f1a57fdd92902e73e74.tar.bz2
mana-client-06dbc332021867d868dd5f1a57fdd92902e73e74.tar.xz
mana-client-06dbc332021867d868dd5f1a57fdd92902e73e74.zip
Display TMW version on Windows too
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e28c843b..e745e7cd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -36,7 +36,6 @@
#ifdef __USE_UNIX98
#include <cerrno>
#include <sys/stat.h>
-#include "../config.h"
#endif
#include "configuration.h"
@@ -380,7 +379,7 @@ void parseOptions(int argc, char *argv[], Options &options)
/** Main */
int main(int argc, char *argv[])
{
-#ifdef __USE_UNIX98
+#ifdef PACKAGE_VERSION
std::cout << "The Mana World v" << PACKAGE_VERSION << std::endl;
#endif
logger = new Logger();
@@ -456,7 +455,7 @@ int main(int argc, char *argv[])
}
graphics->drawImage(login_wallpaper, 0, 0);
-#ifdef __USE_UNIX98
+#ifdef PACKAGE_VERSION
graphics->setFont(gui->getFont());
graphics->drawText(PACKAGE_VERSION, 0, 0);
#endif