]> git.mxchange.org Git - flightgear.git/commitdiff
VS2013 fixes for some FDMs.
authorJames Turner <zakalawe@mac.com>
Wed, 27 Jan 2016 14:00:09 +0000 (14:00 +0000)
committerJames Turner <zakalawe@mac.com>
Wed, 27 Jan 2016 14:00:09 +0000 (14:00 +0000)
src/FDM/LaRCsim/LaRCsim.cxx
src/FDM/SP/BalloonSim.cpp
src/FDM/SP/BalloonSim.h

index 93b05c0f0be0c068f73e3610061e6a5578b88147..239f6374463ed9f72c5b3096571ffe94493abc38 100644 (file)
@@ -24,7 +24,8 @@
 #  include "config.h"
 #endif
 
-#include <math.h>
+#include <cmath>
+#include <cfloat>
 #include <string.h>                // strcmp()
 
 #include <simgear/constants.h>
index add046caca860317a79ff5d554bd668a03f3bc77..21aa736d0689b786d5b5fdbf631192aa2d692ca7 100644 (file)
@@ -44,7 +44,7 @@ HISTORY
 #endif
 
 #include <stdio.h>
-#include <math.h>
+#include <cmath>
 
 #include <simgear/constants.h>
 
index e2587ec38a04c44a6e553ff048ce025da605c8f6..83f1e9e54ccf7fb5d5266d59392330b918d68e95 100644 (file)
@@ -40,6 +40,8 @@ HISTORY
 #ifndef BalloonSim_H
 #define BalloonSim_H
 
+#include <cfloat>
+
 /****************************************************************************/
 /* INCLUDES                                                                */
 /****************************************************************************/