From d422a7bb7f642fe05ef8cee72f0dfa6e0fe1dac7 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 5 Apr 2001 20:25:40 +0000 Subject: [PATCH] Added a special default default fgroot for cygwin. --- src/Main/fg_init.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = "";