]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGJSBBase.h
Moved JSBSim.hxx to src/FDM/JSBSim/
[flightgear.git] / src / FDM / JSBSim / FGJSBBase.h
index e515a91629f27d9988a1b17cc72c12e8f78f456a..570c9af42863ecdce0cbd265921a067d59572d04 100644 (file)
@@ -66,6 +66,17 @@ using std::queue;
 #  define M_PI SG_PI
 #endif
 
+#ifdef __FreeBSD__ // define gcvt on FreeBSD
+
+#include <stdio.h>
+
+static char *gcvt(double number, size_t ndigit, char *buf)
+{
+     sprintf(buf, "%f", number);
+     return buf;
+}
+#endif
+
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 DEFINITIONS
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
@@ -103,8 +114,11 @@ enum eParam {
   FG_BI2VEL,
   FG_CI2VEL,
   FG_ELEVATOR_POS,
+  FG_AELEVATOR_POS,
   FG_AILERON_POS,
+  FG_AAILERON_POS,
   FG_RUDDER_POS,
+  FG_ARUDDER_POS,
   FG_SPDBRAKE_POS,
   FG_SPOILERS_POS,
   FG_FLAPS_POS,