1
0
Fork 0

Fixed a bug report from Frederic Bouvier:

A sloppy coder already defined min and max as macros with 2 arguments
This commit is contained in:
david 2002-03-27 13:00:25 +00:00
parent ec6a0b2810
commit 5ec0c135bc

View file

@ -20,6 +20,14 @@ SG_USING_STD(vector);
#include <simgear/misc/props.hxx> #include <simgear/misc/props.hxx>
#include <simgear/timing/timestamp.hxx> #include <simgear/timing/timestamp.hxx>
// 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 class FGAircraftModel : public FGSubsystem
{ {
public: public: