]> Savannah Git Hosting - gnulib.git/commit
chown, lchown tests: Fix link error on mingw 10.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Apr 2023 00:51:43 +0000 (02:51 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 20 Apr 2023 00:51:43 +0000 (02:51 +0200)
commite5eacca5e2ee869d6e622f54d9a0309bc87f8254
tree97b77af2e67de3f372de7f87edc0b4522e852d97
parentb3774862952b27e3513b3ef82414d56bcae3b665
chown, lchown 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/lchown-tests
tests/test-lchown.h