diff options
| author | Geoff Voelker | 1998-05-30 23:37:12 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-05-30 23:37:12 +0000 |
| commit | 97e3c91bbd90050accaafcea3ee32009b569a384 (patch) | |
| tree | edb75388d86786f66d5774ebc7283a01421f84d5 /lib-src/ntlib.c | |
| parent | 35e9c644caadc3117e607e0ff561b888c35516ee (diff) | |
| download | emacs-97e3c91bbd90050accaafcea3ee32009b569a384.tar.gz emacs-97e3c91bbd90050accaafcea3ee32009b569a384.zip | |
(getppid): Look for EM_PARENT_PROCESS_ID.
Diffstat (limited to 'lib-src/ntlib.c')
| -rw-r--r-- | lib-src/ntlib.c | 2 |
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"); |