1
0
Fork 0

A better way to stringize the predefined SimGear version number

This commit is contained in:
ehofman 2009-12-14 19:51:05 +00:00 committed by Tim Moore
parent ba77293c10
commit b0e87c8d6e

View file

@ -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;
}