KhronosGroup / SPIRV-Cross

SPIRV-Cross is a practical tool and library for performing reflection on SPIR-V and disassembling SPIR-V back to high level languages.
Apache License 2.0
1.96k stars 549 forks source link

Fixed conflict with windows min() and max() macros in spirv_common.hpp #2269

Closed jaxfrank closed 5 months ago

jaxfrank commented 5 months ago

If windows.h is included before spirv_common.hpp without NOMINMAX being defined the windows min and max macros will conflict with the STL std::numeric_limits functions.

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.