src,win: Replacement of unsupported versions of Windows runtime exit.
Replaces Windows 7 EOL runtime program termination (https://github.com/nodejs/node/pull/31954) to an unsupported Windows operating system notice at runtime to notify minimal support for using an unsupported version of Windows.
Tests do not pass due to stderr output, and I am unsure of how to handle this further myself due to my limited knowledge of C++. Node.js did compile and act as expected when supplied -e
or an input file.
Discussed originally in https://github.com/nodejs/node/issues/33034. Fixes #33034 (closed)
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines