From ceaf93a11c5457d778f1bf8f541a5679b952aa09 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 27 Oct 1999 00:44:29 +0000 Subject: [PATCH] Fix for MSVC++ --- src/FDM/JSBSim/FGUtility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FDM/JSBSim/FGUtility.cpp b/src/FDM/JSBSim/FGUtility.cpp index 0d672d56d..4b72f6132 100644 --- a/src/FDM/JSBSim/FGUtility.cpp +++ b/src/FDM/JSBSim/FGUtility.cpp @@ -57,10 +57,10 @@ INCLUDES #include "FGState.h" #include "FGFDMExec.h" -#ifndef M_PI +#ifndef M_PI_2 /* get a definition for pi */ #include -#define M_PI FG_PI +#define M_PI_2 FG_PI_2 #endif /*******************************************************************************