mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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:
@@ -11979,7 +11979,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
|
||||
|
||||
if (argc == 1) {
|
||||
|
||||
#if !defined(_WIN32) && !defined(__USE_GNU)
|
||||
#ifndef HAVE_UNISTD_H
|
||||
extern char **environ;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user