From: oharboe Date: Sun, 3 May 2009 15:11:17 +0000 (+0000) Subject: Piotr Esden-Tempski Mac OS X compile fixes X-Git-Tag: v0.2.0~910 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ca3d4db1e335af2adbc5424d28e7327dc174e404;p=openocd Piotr Esden-Tempski Mac OS X compile fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@1595 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/helper/jim.c b/src/helper/jim.c index ad2d6ec5..f0d17525 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) { -#ifndef HAVE_UNISTD_H +#if ! HAVE_UNISTD_H || IS_DARWIN extern char **environ; #endif