]> Savannah Git Hosting - gnulib.git/commit
getlogin: Port to newer mingw.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 10:00:30 +0000 (11:00 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 11:05:38 +0000 (12:05 +0100)
commit8fe9cd1cfc148a37b352bd5320b5d3b35a3880fc
treed145fb4c6acdbcb2a8f90dbde090b1f574532482
parentff41dd1fc3a9e63900551f680ecd99df09d65b1c
getlogin: Port to newer mingw.

* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize HAVE_DECL_GETLOGIN.
* m4/getlogin.m4 (gl_FUNC_GETLOGIN): Set HAVE_DECL_GETLOGIN.
* modules/unistd (Makefile.am): Substibute HAVE_DECL_GETLOGIN, not
HAVE_GETLOGIN.
* lib/unistd.in.h (getlogin): Test HAVE_DECL_GETLOGIN, not
HAVE_GETLOGIN.
* doc/posix-functions/getlogin.texi: Mention the issue.
* tests/test-getlogin.c: Don't include <pwd.h> on native Windows.
ChangeLog
doc/posix-functions/getlogin.texi
lib/unistd.in.h
m4/getlogin.m4
m4/unistd_h.m4
modules/unistd
tests/test-getlogin.c