X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FJSBSim%2FFGState.cpp;h=d97dfb439cabc98b893d099ab6733e93fffcc5d1;hb=bb785797b9dd171f21c2577e0ba1a9c84e107583;hp=58ca50ab5c1a8f6318534c54a9732d3da4a12bb5;hpb=9c0925744d27363955b3f26caf3311bc0a91ea69;p=flightgear.git diff --git a/src/FDM/JSBSim/FGState.cpp b/src/FDM/JSBSim/FGState.cpp index 58ca50ab5..d97dfb439 100644 --- a/src/FDM/JSBSim/FGState.cpp +++ b/src/FDM/JSBSim/FGState.cpp @@ -344,7 +344,11 @@ bool FGState::Reset(string path, string acname, string fname) { resetDef = path + "/" + acname + "/" + fname + ".xml"; +#if defined ( sgi ) && !defined( __GNUC__ ) + ifstream resetfile(resetDef.c_str(), ios::in ); +#else ifstream resetfile(resetDef.c_str(), ios::in | ios::binary ); +#endif if (resetfile) { resetfile >> U;