Skip to content

src: define getpid() based on OS#4146

Merged
cjihrig merged 0 commit intonodejs:masterfrom
cjihrig:4145
Dec 4, 2015
Merged

src: define getpid() based on OS#4146
cjihrig merged 0 commit intonodejs:masterfrom
cjihrig:4145

Conversation

@cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Dec 4, 2015

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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib / src Issues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants