mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-05 10:17:30 -05:00
58a9601dff
Define (and document) `NOMINMAX` once, rather than across multiple
source files.
Defining this prevents the definition of min/max macros when using
mingw-w64, which may conflict with unprefixed std::min/max usage. While
that might not be the case for us, we'd always prefer to use the standard
library in any case.
For example:
|
||
---|---|---|
.. | ||
allocators | ||
cleanse.cpp | ||
cleanse.h | ||
events.h | ||
lockedpool.cpp | ||
lockedpool.h |