A better way to stringize the predefined SimGear version number
This commit is contained in:
parent
ba77293c10
commit
b0e87c8d6e
1 changed files with 1 additions and 1 deletions
|
@ -1209,7 +1209,7 @@ fgOptVersion( const char *arg )
|
||||||
cerr << *it;
|
cerr << *it;
|
||||||
}
|
}
|
||||||
cerr << endl;
|
cerr << endl;
|
||||||
cerr << "SimGear version: " << SIMGEAR_VERSION << endl;
|
cerr << "SimGear version: " << SG_STRINGIZE(SIMGEAR_VERSION) << endl;
|
||||||
cerr << "PLIB version: " << PLIB_VERSION << endl;
|
cerr << "PLIB version: " << PLIB_VERSION << endl;
|
||||||
return FG_OPTIONS_EXIT;
|
return FG_OPTIONS_EXIT;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue