Hello List,

I have problem to build jim.c under Mac OS X.
Here the old version looks like:

static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
        Jim_Obj *const *argv)
{
    const char *key;
    char *val;

    if (argc == 1) {

#ifndef _WIN32
        extern char **environ;
#endif


Which was working, but in the new one (r1588) _WIN32 was replaced by
HAVE_UNISTD_H.
HAVE_UNISTD_H was set to 1, but I need the "extern char **environ;" here to
compile.

Regards,
Michael

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to