#undef min/max for MinGW if neccessary

[SVN r12917]
This commit is contained in:
Dave Abrahams
2002-02-24 02:35:55 +00:00
parent 57743254f6
commit bd52ac9181

View File

@ -92,8 +92,16 @@ enum float_denorm_style {
static const __mem_type __mem_name = __mem_value
#endif /* BOOST_NO_INCLASS_MEMBER_INITIALIZATION */
// Base class for all specializations of numeric_limits.
// Deal with min/max for MinGW
#ifdef min
# undef min
#endif
#ifdef max
# undef max
#endif
// Base class for all specializations of numeric_limits.
template <class __number>
class _Numeric_limits_base {
public: