diff options
author | Bruno Haible <bruno@clisp.org> | 2023-04-20 02:51:43 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2023-04-20 02:51:43 +0200 |
commit | e5eacca5e2ee869d6e622f54d9a0309bc87f8254 (patch) | |
tree | 97b77af2e67de3f372de7f87edc0b4522e852d97 /modules | |
parent | b3774862952b27e3513b3ef82414d56bcae3b665 (diff) | |
download | gnulib-e5eacca5e2ee869d6e622f54d9a0309bc87f8254.tar.gz |
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.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/lchown-tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lchown-tests b/modules/lchown-tests index 10119f22eb..2954701eeb 100644 --- a/modules/lchown-tests +++ b/modules/lchown-tests @@ -16,7 +16,7 @@ stdbool symlink configure.ac: -AC_CHECK_FUNCS_ONCE([getegid]) +AC_CHECK_FUNCS_ONCE([getgid getegid]) Makefile.am: TESTS += test-lchown |