X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2Ffgjs.cxx;h=691c9df1a09e72e372199c4ccb9b1646e6228b6a;hb=b9e866cfdd765cc742a6c9b3e35c8a9c1ca08dfc;hp=618a08a681ec5cf922cd41a25e21f28e9700f667;hpb=76815256f7dcaf36d013f92f2e42861bfb428dcf;p=flightgear.git diff --git a/src/Input/fgjs.cxx b/src/Input/fgjs.cxx index 618a08a68..691c9df1a 100644 --- a/src/Input/fgjs.cxx +++ b/src/Input/fgjs.cxx @@ -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",