Fix MinGW compilation warnings due to environ.h

include/ChangeLog:

2017-05-31  Eli Zaretskii <eliz@gnu.org>

	* environ.h: Add #ifndef guard.
This commit is contained in:
Eli Zaretskii 2017-05-31 09:35:07 +03:00
parent 1b1810b5e0
commit b9c6833008
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-05-31 Eli Zaretskii <eliz@gnu.org>
* environ.h: Add #ifndef guard.
2017-05-30 Anton Kolesov <anton.kolesov@synopsys.com>
* elf/arc-cpu.def: New file.

View File

@ -27,7 +27,9 @@ Boston, MA 02110-1301, USA. */
# include <crt_externs.h>
# define environ (*_NSGetEnviron ())
# else
# ifndef environ
extern char **environ;
# endif
# endif
# define HAVE_ENVIRON_DECL
#endif