Unverified Commit ca8d4e34 authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Beth Griggs
Browse files

build: define NOMINMAX on windows

Build with `-DNOMINMAX` to stop `<windows.h>` from defining macros that
conflict with `std::min()` and `std::max()`.

Backport-PR-URL: https://github.com/nodejs/node/pull/22731
PR-URL: https://github.com/nodejs/node/pull/18216


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarJoyee Cheung <joyeec9h3@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/22731
parent 48f31bdf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment