]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/garmin.cxx
Update Mac configure script for new ALUT scheme; support --with-alut-framework.
[flightgear.git] / src / Network / garmin.cxx
index 80690a22e83b5931e6ceadc44ea2c6e0e15bb0db..ea6cbbe5e90bb6094df0f4c44dee78e597c04b0b 100644 (file)
 //
 // 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$
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
+#include <iostream>
 
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/sg_geodesy.hxx>
@@ -32,7 +37,7 @@
 
 #include "garmin.hxx"
 
-SG_USING_NAMESPACE(std);
+using std::string;
 
 FGGarmin::FGGarmin() {
 }
@@ -164,7 +169,7 @@ bool FGGarmin::gen_message() {
     garmin_sentence += gsa;
     garmin_sentence += "\r\n";
 
-    cout << garmin_sentence;
+    std::cout << garmin_sentence;
 
     length = garmin_sentence.length();
     strncpy( buf, garmin_sentence.c_str(), length );