[ruby/etc] Declare getlogin even if unistd.h is not available
getlogin
Although MinGW provides this header but not the function, Windows version ruby provides the function.
https://github.com/ruby/etc/commit/f7fa1884fa
[ruby/etc] Declare
getlogin
even if unistd.h is not availableAlthough MinGW provides this header but not the function, Windows
version ruby provides the function.
https://github.com/ruby/etc/commit/f7fa1884fa