environ.h: Add #ifndef guard.

2017-05-19  Eli Zaretskii <eliz@gnu.org>
* environ.h: Add #ifndef guard.

From-SVN: r248308
This commit is contained in:
Eli Zaretskii 2017-05-20 01:22:07 +00:00 committed by DJ Delorie
parent 6deadc7d0b
commit 0ff0902bf0
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-05-19 Eli Zaretskii <eliz@gnu.org>
* environ.h: Add #ifndef guard.
2017-05-18 Martin Liska <mliska@suse.cz>
* ansidecl.h: Define CONSTEXPR macro.

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