#include <simgear/compiler.h>
-#include <strstream>
+#include STL_STRSTREAM
#include "uiuc_parsefile.h"
#include "uiuc_aircraft.h"
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(istrstream);
+#endif
int uiuc_1DdataFileReader( string file_name,
double x[100],
#include <simgear/compiler.h>
-#include <strstream>
+#include STL_STRSTREAM
#include "uiuc_parsefile.h"
#include "uiuc_aircraft.h"
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(istrstream);
+#endif
void uiuc_2DdataFileReader( string file_name,
double x[100][100],
#include "uiuc_parsefile.h"
SG_USING_STD(map);
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(iostream);
+#endif
#if defined ( macintosh ) || defined ( _MSC_VER )
SG_USING_STD(ofstream);
#endif
#include "uiuc_engine.h"
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cerr);
+#endif
void uiuc_engine()
{
#include "uiuc_gear.h"
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cerr);
+#endif
#define HEIGHT_AGL_WHEEL d_wheel_rwy_local_v[2]
#include "uiuc_menu.h"
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cerr);
SG_USING_STD(cout);
SG_USING_STD(endl);
-#ifndef _MSC_VER
+# ifndef _MSC_VR
SG_USING_STD(exit);
+# endif
#endif
bool check_float(string &token)
#include <string>
#include <list>
-#include <fstream>
+#include STL_FSTREAM
SG_USING_STD(list);
SG_USING_STD(string);
SG_USING_STD(getline);
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(ifstream);
+#endif
#define DELIMITERS " \t"
#define COMMENT "#"
#include "uiuc_recorder.h"
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(endl); // -dw
+#endif
void uiuc_recorder( double dt )
{
#include "uiuc_warnings_errors.h"
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD (cerr);
SG_USING_STD (endl);
-#ifndef _MSC_VER
+# ifndef _MSC_VER
SG_USING_STD (exit);
+# endif
#endif
void uiuc_warnings_errors(int errorCode, string line)
#include <simgear/compiler.h>
#include <string>
-#include <iostream>
+#include STL_IOSTREAM
SG_USING_STD(string);
#include "uiuc_betaprobe.h"
#include <FDM/LaRCsim/ls_generic.h>
+#if !defined (SG_HAVE_NATIVE_SGI_COMPILERS)
SG_USING_STD(cout);
SG_USING_STD(endl);
+#endif
extern "C" void uiuc_init_aeromodel ();
extern "C" void uiuc_force_moment(double dt);
{
string aircraft;
- if (aircraft_dir != "")
+ if (aircraft_dir != (string)"")
aircraft = aircraft_dir + "/";
aircraft += "aircraft.dat";