Commit a3c5567e authored by yorkie's avatar yorkie
Browse files

src,win: use correct exit code in old versions

If `IsWindows7OrGreater()` returns `false`, the Node.js program should
exit with a more specific code ERROR_EXE_MACHINE_TYPE_MISMATCH instead
the code 0x1(ERROR_INVALID_FUNCTION)

PR-URL: https://github.com/nodejs/node/pull/8204


Reviewed-By: default avatarJoão Reis <reis@janeasystems.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 86067f01
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