| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I believe we can forgo including process.h on Windows and just alias getpid to GetCurrentProcessId instead, which shouldn't require any additional includes. |
Sorry, something went wrong.
|
I think you're right. Updating. |
Sorry, something went wrong.
|
Updated. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Only CI failures are known flakey tests. |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
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: nodejs#4145 PR-URL: nodejs#4146 Reviewed-By: Brian White <mscdex@mscdex.net>
|
Thanks for the review. Landing this more quickly than normal since the Windows CI was borked. |
Sorry, something went wrong.
|
commits missing again, perhaps this is what github is doing now if you don't update your PR with the latest version of the commits and delete the branch? |
Sorry, something went wrong.
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: nodejs#4145 PR-URL: nodejs#4146 Reviewed-By: Brian White <mscdex@mscdex.net>
| Back | FazBrowse Home | New Git URL |
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.
Closes #4145
R=@mscdex