Commit 97e3c91b authored by Geoff Voelker's avatar Geoff Voelker

(getppid): Look for EM_PARENT_PROCESS_ID.

parent 35e9c644
...@@ -58,7 +58,7 @@ getppid(void) ...@@ -58,7 +58,7 @@ getppid(void)
char *ppid; char *ppid;
DWORD result; DWORD result;
ppid = getenv ("__PARENT_PROCESS_ID"); ppid = getenv ("EM_PARENT_PROCESS_ID");
if (!ppid) if (!ppid)
{ {
printf("no pid.\n"); printf("no pid.\n");
......
Markdown is supported
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