mirror of https://github.com/lukechilds/node.git
Browse Source
94b9948
added unistd.h to src/env.cc in order to use getpid().
However, this doesn't exist on Windows. This commit conditionally
defines getpid() based on the OS.
Fixes: https://github.com/nodejs/node/issues/4145
PR-URL: https://github.com/nodejs/node/pull/4146
Reviewed-By: Brian White <mscdex@mscdex.net>
process-exit-stdio-flushing
cjihrig
9 years ago
1 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue