From: Craig Robbins Date: Wed, 11 May 2016 07:15:41 +0000 (+1000) Subject: Add platform name to --version information X-Git-Tag: 0.4.14~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58b54cf9a97221a2457b8a5cf3816be4490848a5;p=oweals%2Fminetest.git Add platform name to --version information --- diff --git a/src/main.cpp b/src/main.cpp index 72daaef01..7f11c6b46 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -344,7 +344,8 @@ static void print_allowed_options(const OptionList &allowed_options) static void print_version() { - std::cout << PROJECT_NAME_C " " << g_version_hash << std::endl; + std::cout << PROJECT_NAME_C " " << g_version_hash + << "(" << porting::getPlatformName() << ") " << std::endl; #ifndef SERVER std::cout << "Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl; #endif