//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// $Id$
# include <config.h>
#endif
-#ifdef _MSC_VER
-# define _USE_MATH_DEFINES
-#endif
#include <math.h>
#include <algorithm>
const FGAirport *fgFindAirportID( const string& id) {
const FGAirport* result = NULL;
if ( id.length() ) {
- SG_LOG( SG_GENERAL, SG_INFO, "Searching for airport code = " << id );
+ SG_LOG( SG_GENERAL, SG_BULK, "Searching for airport code = " << id );
result = globals->get_airports()->search( id );
} else {
return NULL;
}
- SG_LOG( SG_GENERAL, SG_INFO,
+ SG_LOG( SG_GENERAL, SG_BULK,
"Position for " << id << " is ("
<< result->getLongitude() << ", "
<< result->getLatitude() << ")" );
// double lon, lat;
- SG_LOG( SG_GENERAL, SG_INFO,
+ SG_LOG( SG_GENERAL, SG_BULK,
"Finding elevation for airport: " << id );
const FGAirport *a=fgFindAirportID( id);
Point3D fgGetAirportPos( const string& id ) {
// double lon, lat;
- SG_LOG( SG_ATC, SG_INFO,
+ SG_LOG( SG_ATC, SG_BULK,
"Finding position for airport: " << id );
const FGAirport *a = fgFindAirportID( id);