]> git.mxchange.org Git - simgear.git/blobdiff - simgear/serial/testserial.cxx
AIX fix
[simgear.git] / simgear / serial / testserial.cxx
index faab267861ec1c0eaac745bd472164cad333a5ca..bc6b9c6a534d12675a61c46375a80ebb60a1f902 100644 (file)
@@ -1,15 +1,21 @@
-#include <string>
+#include <simgear/compiler.h>
+
+#include STL_STRING
+#include STL_IOSTREAM
 
 #include <simgear/debug/logstream.hxx>
 
 #include "serial.hxx"
 
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+
 int main () {
-    FGSerialPort port;
+    SGSerialPort port;
     string value;
     bool result;
 
-    fglog().setLogLevels( FG_ALL, FG_INFO );
+    sglog().setLogLevels( SG_ALL, SG_INFO );
 
     cout << "start of main" << endl;