summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1998-05-30 23:37:12 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1998-05-30 23:37:12 +0000
commit18614ffd8a754269975229840641188e301d45de (patch)
tree0b21ccc511e96401d74ead3293c52a5180ba933d /lib-src
parent7c14c1f10a351ae1fe6fe59b041efc7bcecdac9d (diff)
downloademacs-18614ffd8a754269975229840641188e301d45de.tar.gz
(getppid): Look for EM_PARENT_PROCESS_ID.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ntlib.c2
1 files changed, 1 insertions, 1 deletions
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");