1
1

* complete.c (environ): Don't declare environ on Cygwin.

From Pavel Tsekov <ptsekov gmx net>.
Этот коммит содержится в:
Roland Illig 2004-10-23 07:12:39 +00:00
родитель fa72520d74
Коммит b5a38517cd
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -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