Skip to content

windows: guard `std::min` and `std::max` usage

Ben Boeckel requested to merge ben.boeckel/diy:min-max-windows-confusion into master

DIY headers may be included in an environment where windows.h was included without NOMINMAX and therefore expose macros which conflict. Safeguard usages to avoid invoking the macro expansion.

Merge request reports