If it is a GNU specific thing then assuming that more often than not
this package is used with glibc I would suggest keeping

#if !HAVE_UNISTD_H || IS_DARWIN

rather than listing all variations that have environ in unistd.h.

As an alternative a test in ./configure would be a solution.


Michael


On Sat, May 2, 2009 at 2:36 PM, Michael Fischer <fische...@t-online.de> wrote:
> Hello,
>
> the new version r1589 do not solve the problem,
> becasue the unistd.h looks like:
>
> #define getpagesize() PAGE_SIZE
>
> No information about environ here.
>
> Regards,
>
> Michael
> _______________________________________________
> Openocd-development mailing list
> Openocd-development@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/openocd-development
>
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to