1
0
Fork 0

checking the brutal way whether the 41 ugly __MWERKS__ hacks are really

still needed. At some point they must have fixed their broken compiler.
This commit is contained in:
mfranz 2007-10-10 18:34:28 +00:00
parent 79fec97f9f
commit 6e72aa6a57

View file

@ -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);