FLIGHTGEAR_VERSION is always set.
This commit is contained in:
parent
4289ac77dd
commit
0f90a2e9f3
1 changed files with 1 additions and 6 deletions
|
@ -410,12 +410,7 @@ int fgMainInit( int argc, char **argv )
|
|||
logToFile();
|
||||
}
|
||||
|
||||
std::string version;
|
||||
#ifdef FLIGHTGEAR_VERSION
|
||||
version = FLIGHTGEAR_VERSION;
|
||||
#else
|
||||
version = "unknown version";
|
||||
#endif
|
||||
std::string version(FLIGHTGEAR_VERSION);
|
||||
SG_LOG( SG_GENERAL, SG_INFO, "FlightGear: Version "
|
||||
<< version );
|
||||
SG_LOG( SG_GENERAL, SG_INFO, "Built with " << SG_COMPILER_STR);
|
||||
|
|
Loading…
Add table
Reference in a new issue