]> git.mxchange.org Git - flightgear.git/blobdiff - src/Input/fgjs.cxx
Added write-all parameter to save command. If set to true, the
[flightgear.git] / src / Input / fgjs.cxx
index 618a08a681ec5cf922cd41a25e21f28e9700f667..691c9df1a09e72e372199c4ccb9b1646e6228b6a 100644 (file)
@@ -33,9 +33,12 @@ SG_USING_STD(fstream);
 SG_USING_STD(cout);
 SG_USING_STD(endl);
 SG_USING_STD(ios);
-SG_USING_STD(string);
 #endif
+SG_USING_STD(string);
 
+#if defined(_MSC_VER) || defined(__MINGW32__)
+#define snprintf _snprintf
+#endif
 
 string axes_humannames[8] = { "elevator", "ailerons", "rudder", "throttle", 
                               "mixture","propller pitch", "lateral view",