diff --git a/src/Airports/simple.hxx b/src/Airports/simple.hxx index d0e3fd588..2de3535dc 100644 --- a/src/Airports/simple.hxx +++ b/src/Airports/simple.hxx @@ -51,10 +51,14 @@ #include STL_STRING #include <set> -#define NDEBUG // she don't work without it. +#ifndef _MSC_VER +# define NDEBUG // she don't work without it. +#endif #include <mk4.h> #include <mk4str.h> -#undef NDEBUG +#ifndef _MSC_VER +# undef NDEBUG +#endif FG_USING_STD(string); FG_USING_STD(set); diff --git a/src/Cockpit/hud.hxx b/src/Cockpit/hud.hxx index 51274c042..8734b1e9c 100644 --- a/src/Cockpit/hud.hxx +++ b/src/Cockpit/hud.hxx @@ -49,7 +49,7 @@ #include <simgear/constants.h> -#include <fg_typedefs.h> +#include <Include/fg_typedefs.h> #include <Aircraft/aircraft.hxx> #include <FDM/flight.hxx> #include <Controls/controls.hxx>