nir: Fix min/max conflict on Windows
Windows declares macros for min and max, which fight with std::min and std::max from . Use NOMINMAX to disable the Windows macros.
Splitting off changes from !6162 (merged).
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Windows declares macros for min and max, which fight with std::min and std::max from . Use NOMINMAX to disable the Windows macros.
Splitting off changes from !6162 (merged).