Hi Iain,
tested on a number of Darwin platforms old and new, and on x86_64/powerpc64-linux,OK for master? … and backports to open branches?
One question...
+# ifdef __APPLE__ +# include <crt_externs.h> +# define environ (*_NSGetEnviron ())
Is it guaranteed that crt_externs.h is present if __APPLE__ is defined? If that's the case, OK for master and backports. Best regards Thomas