# include <config.h>
#endif
+#include <simgear/compiler.h>
+
#include <stdio.h>
-#include <iostream>
+#include STL_IOSTREAM
#include <plib/sg.h>
#include <plib/ssg.h>
#include "stars.hxx"
-#ifdef _MSC_VER
-FG_USING_STD(cout);
-FG_USING_STD(endl);
-#endif
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+#endif
// Set up star rendering call backs