diff options
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"); |