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 7f21b43..5da0aa1 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