Added a special default default fgroot for cygwin.
This commit is contained in:
parent
65f6e343ab
commit
d422a7bb7f
1 changed files with 3 additions and 1 deletions
|
@ -158,7 +158,9 @@ bool fgInitFGRoot ( int argc, char **argv ) {
|
||||||
// Otherwise, default to a random compiled-in location if we can't
|
// Otherwise, default to a random compiled-in location if we can't
|
||||||
// find fg-root any other way.
|
// find fg-root any other way.
|
||||||
if ( root == "" ) {
|
if ( root == "" ) {
|
||||||
#if defined( WIN32 )
|
#if defined( __CYGWIN__ )
|
||||||
|
root = "/FlightGear";
|
||||||
|
#elif defined( WIN32 )
|
||||||
root = "\\FlightGear";
|
root = "\\FlightGear";
|
||||||
#elif defined( macintosh )
|
#elif defined( macintosh )
|
||||||
root = "";
|
root = "";
|
||||||
|
|
Loading…
Reference in a new issue