From: david Date: Wed, 27 Mar 2002 13:00:25 +0000 (+0000) Subject: Fixed a bug report from Frederic Bouvier: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5ec0c135bc1630945626c1db5d0bf2cceb4c7373;p=flightgear.git Fixed a bug report from Frederic Bouvier: A sloppy coder already defined min and max as macros with 2 arguments --- diff --git a/src/Main/model.hxx b/src/Main/model.hxx index 8054a908b..d5b517b4c 100644 --- a/src/Main/model.hxx +++ b/src/Main/model.hxx @@ -20,6 +20,14 @@ SG_USING_STD(vector); #include #include +// Has anyone done anything *really* stupid, like making min and max macros? +#ifdef min +#undef min +#endif +#ifdef max +#undef max +#endif + class FGAircraftModel : public FGSubsystem { public: