From 65ce1a04b2f57ba2ff1444a42e03564fcd956bb5 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 17 Nov 2002 00:34:40 +0000 Subject: [PATCH] MS patch from Norm Vine to fix min/max macro defs. --- simgear/compiler.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/simgear/compiler.h b/simgear/compiler.h index e80b1826..eb6c1628 100644 --- a/simgear/compiler.h +++ b/simgear/compiler.h @@ -142,6 +142,11 @@ # define STL_STRING # define STL_STRSTREAM +# ifdef WIN32 + // keep windows.h from #defining min() max() macros +# define NOMINMAX +#endif + # else # error Time to upgrade. GNU compilers < 2.7 not supported # endif -- 2.39.5