Fix compilation when HAVE_UNISTD_H is not defined.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1596 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
ca3d4db1e3
commit
6f449ff098
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue