]> git.sur5r.net Git - openocd/commitdiff
- remove environ warning under win32 build
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 21 Apr 2009 08:51:07 +0000 (08:51 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 21 Apr 2009 08:51:07 +0000 (08:51 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1488 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/jim.c

index 5eb8c0bbbb561bc69ec08df10f0bc1e1c7b6a760..28dc950db1999937e39a60a0eb2cf4cd2886fa76 100644 (file)
@@ -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);