------- Comment #4 from ktietz at gcc dot gnu dot org 2009-09-03 08:36 ------- The getlogin function is getting prototyped in headers only, if the _POSIX define was set. So a bug-fix here would be for w64 to define before including headers the _POSIX macro.
Cheers, Kai -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41219