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:
parent
ec6a0b2810
commit
5ec0c135bc
1 changed files with 8 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue