diff lib-src/ntlib.c @ 22296:b58a79fe0af2

(getppid): Look for EM_PARENT_PROCESS_ID.
author Geoff Voelker <voelker@cs.washington.edu>
date Sat, 30 May 1998 23:37:12 +0000
parents 4a0cf10c12f2
children 1fd32e8a2fad
line wrap: on
line diff
--- a/lib-src/ntlib.c	Sat May 30 17:57:14 1998 +0000
+++ b/lib-src/ntlib.c	Sat May 30 23:37:12 1998 +0000
@@ -58,7 +58,7 @@
   char *ppid;
   DWORD result;
 
-  ppid = getenv ("__PARENT_PROCESS_ID");
+  ppid = getenv ("EM_PARENT_PROCESS_ID");
   if (!ppid) 
     {
       printf("no pid.\n");