* emacsclient.c (main): Condition last change on WINDOWSNT (Bug#10155).
This commit is contained in:
parent
dfdbf7af98
commit
e7308292aa
2 changed files with 10 additions and 0 deletions
|
@ -1635,6 +1635,11 @@ main (int argc, char **argv)
|
|||
/* Send over our environment and current directory. */
|
||||
if (!current_frame)
|
||||
{
|
||||
#ifndef WINDOWSNT
|
||||
/* This is defined in stdlib.h on MS-Windows. It's defined in
|
||||
unisted.h on some POSIX hosts, but not all (Bug#10155). */
|
||||
extern char **environ;
|
||||
#endif
|
||||
int i;
|
||||
for (i = 0; environ[i]; i++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue