From: ehofman Date: Mon, 14 Dec 2009 19:51:05 +0000 (+0000) Subject: A better way to stringize the predefined SimGear version number X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b0e87c8d6e4e6c113928bfb5fafdeecdde97472c;p=flightgear.git A better way to stringize the predefined SimGear version number --- diff --git a/src/Main/options.cxx b/src/Main/options.cxx index 15e6e00b4..29542fb7e 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -1209,7 +1209,7 @@ fgOptVersion( const char *arg ) cerr << *it; } cerr << endl; - cerr << "SimGear version: " << SIMGEAR_VERSION << endl; + cerr << "SimGear version: " << SG_STRINGIZE(SIMGEAR_VERSION) << endl; cerr << "PLIB version: " << PLIB_VERSION << endl; return FG_OPTIONS_EXIT; }