From: zwelch Date: Sun, 3 May 2009 15:21:40 +0000 (+0000) Subject: Fix compilation when HAVE_UNISTD_H is not defined. X-Git-Tag: v0.2.0~909 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f449ff098195ec6e307629ed43eb8697f4cccfa;p=openocd Fix compilation when HAVE_UNISTD_H is not defined. git-svn-id: svn://svn.berlios.de/openocd/trunk@1596 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/helper/jim.c b/src/helper/jim.c index f0d17525..e0f84565 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) { -#if ! HAVE_UNISTD_H || IS_DARWIN +#if !defined(HAVE_UNISTD_H) || IS_DARWIN extern char **environ; #endif