From: ntfreak Date: Tue, 21 Apr 2009 08:51:07 +0000 (+0000) Subject: - remove environ warning under win32 build X-Git-Tag: v0.2.0~1015 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9997362a2a526636f0f165109870e52b0e16a705;p=openocd - remove environ warning under win32 build git-svn-id: svn://svn.berlios.de/openocd/trunk@1488 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/helper/jim.c b/src/helper/jim.c index 5eb8c0bb..28dc950d 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);