]> Savannah Git Hosting - gnulib.git/commit
chown tests: Fix link error on mingw 10.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Apr 2023 00:29:26 +0000 (02:29 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 21 Apr 2023 15:25:45 +0000 (17:25 +0200)
commit749fabc0e5f5e9f307cd440cad3ade87366a4a85
tree6cea2a7b3a2e9b74b8181656b0ee04307dfcb265
parentad1ad25c2c90148259e186c3030a5fb31b48bccc
chown tests: Fix link error on mingw 10.

* modules/chown-tests (configure.ac): Test whether getgid() exists.
* modules/lchown-tests (configure.ac): Likewise.
* modules/fchownat-tests (configure.ac): Likewise.
* tests/test-chown.h (getgid): Define a fallback.
* tests/test-lchown.h (getgid): Likewise.
ChangeLog
modules/chown-tests
modules/fchownat-tests
modules/lchown-tests
tests/test-chown.h
tests/test-lchown.h