| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fd5ed68 commit 458facd
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,13 @@ | |||
| 1 | 1 | #include "env.h" | |
| 2 | 2 | #include "env-inl.h" | |
| 3 | 3 | #include "v8.h" | |
| 4 | + | ||
| 5 | + #if defined(_MSC_VER) | ||
| 6 | + #define getpid GetCurrentProcessId | ||
| 7 | + #else | ||
| 8 | + #include <unistd.h> | ||
| 9 | + #endif | ||
| 10 | + | ||
| 4 | 11 | #include <stdio.h> | |
| 5 | 12 | ||
| 6 | 13 | namespace node { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments