From 97e3c91bbd90050accaafcea3ee32009b569a384 Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Sat, 30 May 1998 23:37:12 +0000 Subject: [PATCH] (getppid): Look for EM_PARENT_PROCESS_ID. --- lib-src/ntlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c index 678d969c04f..110a8ccb002 100644 --- a/lib-src/ntlib.c +++ b/lib-src/ntlib.c @@ -58,7 +58,7 @@ getppid(void) char *ppid; DWORD result; - ppid = getenv ("__PARENT_PROCESS_ID"); + ppid = getenv ("EM_PARENT_PROCESS_ID"); if (!ppid) { printf("no pid.\n"); -- 2.39.2