Fix compilation when HAVE_UNISTD_H is not defined.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 3 May 2009 15:21:40 +0000 (15:21 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 3 May 2009 15:21:40 +0000 (15:21 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1596 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/jim.c

index f0d1752..e0f8456 100644 (file)
@@ -11984,7 +11984,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
 
     if (argc == 1) {
 
-#if ! HAVE_UNISTD_H || IS_DARWIN
+#if !defined(HAVE_UNISTD_H) || IS_DARWIN
         extern char **environ;
 #endif