1
0
Fork 0

Added a special default default fgroot for cygwin.

This commit is contained in:
curt 2001-04-05 20:25:40 +00:00
parent 65f6e343ab
commit d422a7bb7f

View file

@ -158,7 +158,9 @@ bool fgInitFGRoot ( int argc, char **argv ) {
// Otherwise, default to a random compiled-in location if we can't
// find fg-root any other way.
if ( root == "" ) {
#if defined( WIN32 )
#if defined( __CYGWIN__ )
root = "/FlightGear";
#elif defined( WIN32 )
root = "\\FlightGear";
#elif defined( macintosh )
root = "";