summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-06 07:17:57 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-06 07:17:57 +0000
commit7e50a3977327c52e9e04f9cf3ac1cd0a54f042b2 (patch)
tree7265b60950e66097037e59fdfa7a9d1bd9f0975f /src/helper
parent213368e21f892a4c6df80cbdae1a163df36c1d51 (diff)
downloadopenocd_libswd-7e50a3977327c52e9e04f9cf3ac1cd0a54f042b2.tar.gz
openocd_libswd-7e50a3977327c52e9e04f9cf3ac1cd0a54f042b2.tar.bz2
openocd_libswd-7e50a3977327c52e9e04f9cf3ac1cd0a54f042b2.tar.xz
openocd_libswd-7e50a3977327c52e9e04f9cf3ac1cd0a54f042b2.zip
Add autoconf check to determine where environ should be declared.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1610 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-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 32c146fa..05236fc2 100644
--- a/src/helper/jim.c
+++ b/src/helper/jim.c
@@ -11984,7 +11984,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
if (argc == 1) {
-#if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__)
+#ifdef NEED_ENVIRON_EXTERN
extern char **environ;
#endif