From: curt Date: Wed, 6 Sep 2000 22:46:43 +0000 (+0000) Subject: Miscellaneous MSVC fixes. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a009f043539e716c5a65d08b316e2e8fb8e6f11a;p=flightgear.git Miscellaneous MSVC fixes. --- 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 -#define NDEBUG // she don't work without it. +#ifndef _MSC_VER +# define NDEBUG // she don't work without it. +#endif #include #include -#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 -#include +#include #include #include #include