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:
parent
79fec97f9f
commit
6e72aa6a57
1 changed files with 9 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue