Files
clang-p2996/lld/ELF/OutputSections.cpp
Yaxun (Sam) Liu 3594769f20 [ELF] Define NOMINMAX to fix zlib.h caused build failure on Windows (#70368)
On Windows when zlib is enabled, zlib header introduced some Windows
headers which defines max as a macro. Since OutputSections.cpp uses
std::max with template argument, this causes compilation error.

Define macro NOMINMAX to avoid this.
2023-11-02 08:59:54 -04:00

30 KiB