diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index d39b04c5..83b30246 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 |