On Tue, Oct 7, 2014 at 10:19 AM, Marc Balmer <m...@msys.ch> wrote: >> -/* NetBSD is the only(?) platform with getenv_r() */ >> -#if !defined(__NetBSD__) >> +/* NetBSD is almost the only platform with getenv_r() */ >> +#if !(defined(__NetBSD__) || defined(__minix__)) > > Minix defines __minix, not __minix__, though.
My compiler (cross compiler from git head recently) defines both, but you are right the standard one used seems to be __minix... Justin