From 6e72aa6a574d2fb42ba818d6531cf305c61d7dde Mon Sep 17 00:00:00 2001 From: mfranz Date: Wed, 10 Oct 2007 18:34:28 +0000 Subject: [PATCH] checking the brutal way whether the 41 ugly __MWERKS__ hacks are really still needed. At some point they must have fixed their broken compiler. --- src/Navaids/navdb.cxx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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); -- 2.39.5