-#include <string>
+#include <simgear/compiler.h>
+
+#include STL_STRING
+#include STL_IOSTREAM
#include <simgear/debug/logstream.hxx>
#include "serial.hxx"
-main () {
- FGSerialPort port;
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+
+int main () {
+ SGSerialPort port;
string value;
bool result;
- fglog().setLogLevels( FG_ALL, FG_INFO );
+ sglog().setLogLevels( SG_ALL, SG_INFO );
cout << "start of main" << endl;
cout << "-> " << value << endl;
}
}
+
+ return 0;
}