From: curt Date: Thu, 5 Apr 2001 20:25:40 +0000 (+0000) Subject: Added a special default default fgroot for cygwin. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d422a7bb7f642fe05ef8cee72f0dfa6e0fe1dac7;p=flightgear.git Added a special default default fgroot for cygwin. --- diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 7866a35f3..801ce3be4 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -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 = "";