]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGRotation.cpp
Updates to help work the kinks out of JSBsim.
[flightgear.git] / src / FDM / JSBSim / FGRotation.cpp
index 494d9da663e6b8aac80d487fc2123cb111d82fd1..43712681c4a38f4240d252586f6665a011c33e6a 100644 (file)
@@ -66,6 +66,12 @@ INCLUDES
 #include "FGAuxiliary.h"
 #include "FGOutput.h"
 
+#ifndef M_PI
+/* get a definition for pi */
+#include <Include/fg_constants.h>
+#define M_PI FG_PI
+#endif
+
 /*******************************************************************************
 ************************************ CODE **************************************
 *******************************************************************************/