]> git.sur5r.net Git - openocd/commitdiff
Michael Bruck <mbruck@digenius.de>: use HAVE_UNISTD_H for environ decl.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 30 Apr 2009 00:57:58 +0000 (00:57 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 30 Apr 2009 00:57:58 +0000 (00:57 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1572 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/jim.c

index 7f21b4304ea98e89ecb871b16872508d3cc8e7bb..5da0aa114b34d7bb29db1cab69b884c88d898dac 100644 (file)
@@ -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