- remove environ warning under win32 build

git-svn-id: svn://svn.berlios.de/openocd/trunk@1488 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak 2009-04-21 08:51:07 +00:00
parent 09a3cc0980
commit 9997362a2a
1 changed files with 3 additions and 0 deletions

View File

@ -11976,7 +11976,10 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
char *val; char *val;
if (argc == 1) { if (argc == 1) {
#ifndef _WIN32
extern char **environ; extern char **environ;
#endif
int i; int i;
Jim_Obj *listObjPtr = Jim_NewListObj(interp, NULL, 0); Jim_Obj *listObjPtr = Jim_NewListObj(interp, NULL, 0);