aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Voelker1998-05-30 23:37:12 +0000
committerGeoff Voelker1998-05-30 23:37:12 +0000
commit97e3c91bbd90050accaafcea3ee32009b569a384 (patch)
treeedb75388d86786f66d5774ebc7283a01421f84d5
parent35e9c644caadc3117e607e0ff561b888c35516ee (diff)
downloademacs-97e3c91bbd90050accaafcea3ee32009b569a384.tar.gz
emacs-97e3c91bbd90050accaafcea3ee32009b569a384.zip
(getppid): Look for EM_PARENT_PROCESS_ID.
-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)
58 char *ppid; 58 char *ppid;
59 DWORD result; 59 DWORD result;
60 60
61 ppid = getenv ("__PARENT_PROCESS_ID"); 61 ppid = getenv ("EM_PARENT_PROCESS_ID");
62 if (!ppid) 62 if (!ppid)
63 { 63 {
64 printf("no pid.\n"); 64 printf("no pid.\n");