From: mfranz Date: Wed, 10 Oct 2007 18:34:28 +0000 (+0000) Subject: checking the brutal way whether the 41 ugly __MWERKS__ hacks are really X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6e72aa6a574d2fb42ba818d6531cf305c61d7dde;p=flightgear.git checking the brutal way whether the 41 ugly __MWERKS__ hacks are really still needed. At some point they must have fixed their broken compiler. --- diff --git a/src/Navaids/navdb.cxx b/src/Navaids/navdb.cxx index 020664f3c..808ff80b4 100644 --- a/src/Navaids/navdb.cxx +++ b/src/Navaids/navdb.cxx @@ -74,13 +74,16 @@ bool fgNavDBInit( FGAirportList *airports, in >> skipeol; -#ifdef __MWERKS__ - char c = 0; - while ( in.get(c) && c != '\0' ) { - in.putback(c); -#else +//#ifdef __MWERKS_ +// +// FIXME -- Please complain to the FlightGear mailing list, if you still need this hack. +// +// char c = 0; +// while ( in.get(c) && c != '\0' ) { +// in.putback(c); +//#else while ( ! in.eof() ) { -#endif +//#endif FGNavRecord *r = new FGNavRecord; in >> (*r);