From ac150f3543caf86fd071c73f53373b4ea243fa24 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Thu, 5 Jan 2006 22:31:06 +0000 Subject: Added a standard version check. --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index d39b04c..83b3024 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -343,8 +343,10 @@ void parseOptions(int argc, char *argv[]) */ int main(int argc, char *argv[]) { -#if (defined __USE_UNIX98 || defined __FreeBSD__) +#ifdef PACKAGE_VERSION LOG_INFO("The Mana World Server v" << PACKAGE_VERSION, 0) +#else + LOG_INFO("The Mana World Server v" << DEFAULT_PACKAGE_VERSION, 0) #endif // Parse Command Line Options -- cgit