https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63758
--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> --- Author: iains Date: Sun Oct 18 10:33:37 2015 New Revision: 228942 URL: https://gcc.gnu.org/viewcvs?rev=228942&root=gcc&view=rev Log: Fix PR63758 by using the _NSGetEnviron() API on Darwin include/ Roland McGrath <rol...@gnu.org> PR other/63758 * environ.h: New file. libiberty/ Roland McGrath <rol...@gnu.org> Iain Sandoe <i...@codesourcery.com> PR other/63758 * pex-unix.c: Obtain the environment interface from settings in environ.h rather than in-line code. Update copyright date. * setenv.c: Likewise. * xmalloc.c: Likewise. Added: trunk/include/environ.h Modified: trunk/include/ChangeLog trunk/libiberty/ChangeLog trunk/libiberty/pex-unix.c trunk/libiberty/setenv.c trunk/libiberty/xmalloc.c