Michael Bruck <mbruck@digenius.de>: use HAVE_UNISTD_H for environ decl.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1572 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
7d61acebd8
commit
6f73d44fab
|
@ -11979,7 +11979,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
|
||||||
|
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
|
|
||||||
#if !defined(_WIN32) && !defined(__USE_GNU)
|
#ifndef HAVE_UNISTD_H
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue