]> git.mxchange.org Git - flightgear.git/commitdiff
checking the brutal way whether the 41 ugly __MWERKS__ hacks are really
authormfranz <mfranz>
Wed, 10 Oct 2007 18:34:28 +0000 (18:34 +0000)
committermfranz <mfranz>
Wed, 10 Oct 2007 18:34:28 +0000 (18:34 +0000)
still needed. At some point they must have fixed their broken compiler.

src/Navaids/navdb.cxx

index 020664f3cc15032df4c907c9dad47b349079dd71..808ff80b4233cb4ebb9e7ab2f8c1ac63836e9d27 100644 (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);