http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58929
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I'd say most people compile with -lpthread, I think glibc only keyes a single prototype on _REENTRANT (getlogin_r) and even that is also enabled by POSIX 1995 feature test macro too (which is on by default). So, conditionalizing something on _REENTRANT sounds a wrong idea to me.