From 9997362a2a526636f0f165109870e52b0e16a705 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Tue, 21 Apr 2009 08:51:07 +0000 Subject: [PATCH] - remove environ warning under win32 build git-svn-id: svn://svn.berlios.de/openocd/trunk@1488 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/jim.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helper/jim.c b/src/helper/jim.c index 5eb8c0bbb..28dc950db 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -11976,7 +11976,10 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc, char *val; if (argc == 1) { + +#ifndef _WIN32 extern char **environ; +#endif int i; Jim_Obj *listObjPtr = Jim_NewListObj(interp, NULL, 0);