summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2025-11-05 17:51:42 +0200
committerEli Zaretskii <eliz@gnu.org>2025-11-05 17:51:42 +0200
commitd3101630abfaff68990a99ebccb3f767550f16a6 (patch)
treefab0d48dbbffa0e593c5e74dd74fc863669a4ab9 /lib
parente7505ca213d77ea2f34caeb01d185e340641b5f4 (diff)
Unbreak MinGW build broken by Gnulib merge
* lib/acl_entries.c (acl_entries): Make it no-op for MinGW, as it was before. Without this, acl_entries doesn't compile on MinGW. * nt/gnulib-cfg.mk (OMIT_GNULIB_MODULE_issymlink) (OMIT_GNULIB_MODULE_issymlinkat): Disable these Gnulib modules.
Diffstat (limited to 'lib')
-rw-r--r--lib/acl_entries.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/acl_entries.c b/lib/acl_entries.c
index b78ba18a656..f9619c0f539 100644
--- a/lib/acl_entries.c
+++ b/lib/acl_entries.c
@@ -44,7 +44,7 @@ acl_entries (acl_t acl)
got_one >= 0;
got_one = acl_get_entry (acl, ACL_NEXT_ENTRY, &ace))
count++;
-#else /* Linux, FreeBSD, NetBSD >= 10, Cygwin >= 2.5 */
+#elif !defined __MINGW32__ /* Linux, FreeBSD, NetBSD >= 10, Cygwin >= 2.5 */
/* acl_get_entry returns 1 when it successfully fetches an entry,
and 0 at the end. */
acl_entry_t ace;