-#include <string>
+#include <simgear/compiler.h>
-#include <simgear/logstream.hxx>
+#include STL_STRING
+#include STL_IOSTREAM
+
+#include <simgear/debug/logstream.hxx>
#include "serial.hxx"
-main () {
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+#endif
+
+
+int main () {
FGSerialPort 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;
}