while (!aircraftfile.fail()) {
holding_string.erase();
aircraftfile >> holding_string;
-#if defined(__BORLANDC__) || defined(FG_HAVE_NATIVE_SGI_COMPILERS)
+#if defined(__BORLANDC__) || defined(FG_HAVE_NATIVE_SGI_COMPILERS) || defined(_MSC_VER)
if (holding_string.compare(0, 2, "//") != 0) {
#else
if (holding_string.compare("//",0,2) != 0) {
#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 **************************************
*******************************************************************************/
#include "FGState.h"
#include "FGFDMExec.h"
+#ifndef M_PI
+/* get a definition for pi */
+#include <Include/fg_constants.h>
+#define M_PI FG_PI
+#endif
+
/*******************************************************************************
************************************ CODE **************************************
*******************************************************************************/