From a009f043539e716c5a65d08b316e2e8fb8e6f11a Mon Sep 17 00:00:00 2001 From: curt <curt> Date: Wed, 6 Sep 2000 22:46:43 +0000 Subject: [PATCH] Miscellaneous MSVC fixes. --- src/Airports/simple.hxx | 8 ++++++-- src/Cockpit/hud.hxx | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) 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>