// Test harness.
////////////////////////////////////////////////////////////////////////
-#include <iostream>
+#include <simgear/compiler.h>
+
+#include STL_IOSTREAM
#include "props.hxx"
-using std::cout;
-using std::endl;
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(cerr);
+SG_USING_STD(endl);
+#endif
\f
cout << "Looking for all /hack[0]/bar children" << endl;
vector<SGPropertyNode *> bar = child->getChildren("bar");
cout << "There are " << bar.size() << " matches" << endl;
- for (int i = 0; i < bar.size(); i++)
+ for (int i = 0; i < (int)bar.size(); i++)
cout << bar[i]->getName() << '[' << bar[i]->getIndex() << ']' << endl;
cout << endl;