* complete.c (environ): Don't declare environ on Cygwin.
From Pavel Tsekov <ptsekov gmx net>.
Этот коммит содержится в:
родитель
fa72520d74
Коммит
b5a38517cd
@ -1,3 +1,9 @@
|
||||
2004-10-23 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* complete.c (environ): Don't declare environ on Cygwin.
|
||||
|
||||
From Pavel Tsekov <ptsekov gmx net>.
|
||||
|
||||
2004-10-23 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* regex.c (regerror): Never use the __memcpy function, as it
|
||||
|
@ -218,7 +218,7 @@ username_completion_function (char *text, int state)
|
||||
}
|
||||
|
||||
/* Linux declares environ in <unistd.h>, so don't repeat it here. */
|
||||
#if (!(defined(__linux__) && defined (__USE_GNU)))
|
||||
#if (!(defined(__linux__) && defined (__USE_GNU)) && !defined(__CYGWIN__))
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user