From: Frederic Bouvier Date: Mon, 14 Nov 2011 07:38:58 +0000 (+0100) Subject: Fix MSVC9 build X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f1d0ac52a6155fd511f6dc7bc18642353a0ccea9;p=flightgear.git Fix MSVC9 build --- diff --git a/src/ATC/atcdialog.cxx b/src/ATC/atcdialog.cxx index d2aad836e..912f35446 100644 --- a/src/ATC/atcdialog.cxx +++ b/src/ATC/atcdialog.cxx @@ -18,6 +18,10 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include
#include
diff --git a/src/Aircraft/flightrecorder.cxx b/src/Aircraft/flightrecorder.cxx index 6c3efc0a5..dd4ccc15f 100644 --- a/src/Aircraft/flightrecorder.cxx +++ b/src/Aircraft/flightrecorder.cxx @@ -20,6 +20,10 @@ // /////////////////////////////////////////////////////////////////////////////// +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/src/Airports/xmlloader.cxx b/src/Airports/xmlloader.cxx index 273e2f67f..b2ce07ed4 100644 --- a/src/Airports/xmlloader.cxx +++ b/src/Airports/xmlloader.cxx @@ -13,6 +13,10 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/src/FDM/YASim/Gear.cpp b/src/FDM/YASim/Gear.cpp index b4c7673cb..aa52295ea 100644 --- a/src/FDM/YASim/Gear.cpp +++ b/src/FDM/YASim/Gear.cpp @@ -1,3 +1,8 @@ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "Math.hpp" #include "BodyEnvironment.hpp" #include "RigidBody.hpp" diff --git a/src/FDM/YASim/Rotor.cpp b/src/FDM/YASim/Rotor.cpp index 797bf21ab..8c756c75b 100644 --- a/src/FDM/YASim/Rotor.cpp +++ b/src/FDM/YASim/Rotor.cpp @@ -1,3 +1,8 @@ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include "Math.hpp" diff --git a/src/Input/FGJoystickInput.cxx b/src/Input/FGJoystickInput.cxx index 58a491c78..83e5f68a7 100644 --- a/src/Input/FGJoystickInput.cxx +++ b/src/Input/FGJoystickInput.cxx @@ -22,6 +22,10 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "FGJoystickInput.hxx" #include diff --git a/src/Input/FGKeyboardInput.cxx b/src/Input/FGKeyboardInput.cxx index 94c485c6a..73c7c5b0d 100644 --- a/src/Input/FGKeyboardInput.cxx +++ b/src/Input/FGKeyboardInput.cxx @@ -22,6 +22,10 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "FGKeyboardInput.hxx" #include
#include diff --git a/src/Input/FGMouseInput.cxx b/src/Input/FGMouseInput.cxx index 5d9a6884b..927106f47 100644 --- a/src/Input/FGMouseInput.cxx +++ b/src/Input/FGMouseInput.cxx @@ -22,6 +22,10 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "FGMouseInput.hxx" #include "Main/globals.hxx" diff --git a/src/Instrumentation/airspeed_indicator.cxx b/src/Instrumentation/airspeed_indicator.cxx index 0622f2103..d31fd7672 100644 --- a/src/Instrumentation/airspeed_indicator.cxx +++ b/src/Instrumentation/airspeed_indicator.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include diff --git a/src/Instrumentation/attitude_indicator.cxx b/src/Instrumentation/attitude_indicator.cxx index ca93cd15a..19f6d4c70 100644 --- a/src/Instrumentation/attitude_indicator.cxx +++ b/src/Instrumentation/attitude_indicator.cxx @@ -6,6 +6,10 @@ // TODO: // - better spin-up +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include diff --git a/src/Instrumentation/heading_indicator.cxx b/src/Instrumentation/heading_indicator.cxx index f7899b7bc..e4b0c2438 100644 --- a/src/Instrumentation/heading_indicator.cxx +++ b/src/Instrumentation/heading_indicator.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/src/Instrumentation/heading_indicator_fg.cxx b/src/Instrumentation/heading_indicator_fg.cxx index ba70da198..dfa099c51 100644 --- a/src/Instrumentation/heading_indicator_fg.cxx +++ b/src/Instrumentation/heading_indicator_fg.cxx @@ -5,6 +5,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/src/Instrumentation/inst_vertical_speed_indicator.cxx b/src/Instrumentation/inst_vertical_speed_indicator.cxx index 0237a6ded..8730901c9 100644 --- a/src/Instrumentation/inst_vertical_speed_indicator.cxx +++ b/src/Instrumentation/inst_vertical_speed_indicator.cxx @@ -20,6 +20,10 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include diff --git a/src/Instrumentation/slip_skid_ball.cxx b/src/Instrumentation/slip_skid_ball.cxx index 2ee3bb12c..b5a439158 100644 --- a/src/Instrumentation/slip_skid_ball.cxx +++ b/src/Instrumentation/slip_skid_ball.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "slip_skid_ball.hxx" #include
#include
diff --git a/src/Instrumentation/turn_indicator.cxx b/src/Instrumentation/turn_indicator.cxx index 25df4de4e..6b91cae37 100644 --- a/src/Instrumentation/turn_indicator.cxx +++ b/src/Instrumentation/turn_indicator.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/src/Instrumentation/vertical_speed_indicator.cxx b/src/Instrumentation/vertical_speed_indicator.cxx index 1ad62253b..f59912651 100644 --- a/src/Instrumentation/vertical_speed_indicator.cxx +++ b/src/Instrumentation/vertical_speed_indicator.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include "vertical_speed_indicator.hxx" diff --git a/src/Navaids/routePath.cxx b/src/Navaids/routePath.cxx index b9ac48c1e..d512f155f 100644 --- a/src/Navaids/routePath.cxx +++ b/src/Navaids/routePath.cxx @@ -1,3 +1,8 @@ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include diff --git a/src/Sound/voice.cxx b/src/Sound/voice.cxx index bcdecf8cf..c1dec0b0e 100644 --- a/src/Sound/voice.cxx +++ b/src/Sound/voice.cxx @@ -20,6 +20,10 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include
#include #include diff --git a/src/Systems/static.cxx b/src/Systems/static.cxx index b9b649e1e..e8447121c 100644 --- a/src/Systems/static.cxx +++ b/src/Systems/static.cxx @@ -3,6 +3,10 @@ // // This file is in the Public Domain and comes with no warranty. +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "static.hxx" #include