MS patch from Norm Vine to fix min/max macro defs.
This commit is contained in:
@@ -142,6 +142,11 @@
|
||||
# define STL_STRING <string>
|
||||
# define STL_STRSTREAM <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
|
||||
|
||||
Reference in New Issue
Block a user