]> git.mxchange.org Git - flightgear.git/blobdiff - src/Objects/obj.cxx
Fixed runway-altitude problem that prevented starts at airports higher
[flightgear.git] / src / Objects / obj.cxx
index 16611116920f37bb33ea9e543384706b01924869..4fb53463cdad10dd8d44140f64250677406f6e67 100644 (file)
@@ -381,11 +381,7 @@ ssgBranch *fgAsciiObjLoad( const string& path, FGTileEntry *t,
     while ( ! in.eof() ) {
 #endif
 
-#if defined( macintosh ) || defined( _MSC_VER )
        in >> ::skipws;
-#else
-       in >> skipws;
-#endif
 
        if ( in.get( c ) && c == '#' ) {
            // process a comment line
@@ -628,11 +624,7 @@ ssgBranch *fgAsciiObjLoad( const string& path, FGTileEntry *t,
                
                // read all subsequent numbers until next thing isn't a number
                while ( true ) {
-#if defined( macintosh ) || defined( _MSC_VER )
                    in >> ::skipws;
-#else
-                   in >> skipws;
-#endif
 
                    char c;
                    in.get(c);
@@ -740,11 +732,7 @@ ssgBranch *fgAsciiObjLoad( const string& path, FGTileEntry *t,
 
            // eat white space before start of while loop so if we are
            // done with useful input it is noticed before hand.
-#if defined( macintosh ) || defined( _MSC_VER )
            in >> ::skipws;
-#else
-           in >> skipws;
-#endif
        }
     }