summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-30 00:57:58 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-04-30 00:57:58 +0000
commit6f73d44fab72fdcab3eea1d56bb1a51660658c93 (patch)
treeb4a0fb4837a7a6510bf2e2630f7fd101cc7f23ee /src
parent7d61acebd81166af9f5c8c39bee84d79c221b013 (diff)
downloadopenocd+libswd-6f73d44fab72fdcab3eea1d56bb1a51660658c93.tar.gz
openocd+libswd-6f73d44fab72fdcab3eea1d56bb1a51660658c93.tar.bz2
openocd+libswd-6f73d44fab72fdcab3eea1d56bb1a51660658c93.tar.xz
openocd+libswd-6f73d44fab72fdcab3eea1d56bb1a51660658c93.zip
Michael Bruck <mbruck@digenius.de>: use HAVE_UNISTD_H for environ decl.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1572 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/helper/jim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c
index 7f21b430..5da0aa11 100644
--- a/src/helper/jim.c
+++ b/src/helper/jim.c
@@ -11979,7 +11979,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
if (argc == 1) {
-#if !defined(_WIN32) && !defined(__USE_GNU)
+#ifndef HAVE_UNISTD_H
extern char **environ;
#endif