diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-21 08:51:07 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-04-21 08:51:07 +0000 |
commit | 9997362a2a526636f0f165109870e52b0e16a705 (patch) | |
tree | 92c67c5700e7722641b42364d574a6ace15ebf8c /src | |
parent | 09a3cc0980ddd55c16ac2996c6b4f2db38d30475 (diff) | |
download | openocd+libswd-9997362a2a526636f0f165109870e52b0e16a705.tar.gz openocd+libswd-9997362a2a526636f0f165109870e52b0e16a705.tar.bz2 openocd+libswd-9997362a2a526636f0f165109870e52b0e16a705.tar.xz openocd+libswd-9997362a2a526636f0f165109870e52b0e16a705.zip |
- remove environ warning under win32 build
git-svn-id: svn://svn.berlios.de/openocd/trunk@1488 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/jim.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |