Add autoconf check to determine where environ should be declared.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1610 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
zwelch
2009-05-06 07:17:57 +00:00
parent 213368e21f
commit 7e50a39773
2 changed files with 32 additions and 1 deletions

View File

@@ -11984,7 +11984,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
if (argc == 1) {
#if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__)
#ifdef NEED_ENVIRON_EXTERN
extern char **environ;
#endif