]> git.sur5r.net Git - openocd/commitdiff
Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 3 May 2009 15:11:17 +0000 (15:11 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 3 May 2009 15:11:17 +0000 (15:11 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1595 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/jim.c

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