]> git.mxchange.org Git - flightgear.git/commitdiff
Added a special default default fgroot for cygwin.
authorcurt <curt>
Thu, 5 Apr 2001 20:25:40 +0000 (20:25 +0000)
committercurt <curt>
Thu, 5 Apr 2001 20:25:40 +0000 (20:25 +0000)
src/Main/fg_init.cxx

index 7866a35f358bddd1602e29c02b509716d299d3a2..801ce3be41b6b5d7bdc3e090f70f2ed343d5aa2c 100644 (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 = "";