summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2025-11-06 08:36:50 +0200
committerEli Zaretskii <eliz@gnu.org>2025-11-06 08:36:50 +0200
commitd6402072f2d0f83b6dae110d80f08d42900d31f7 (patch)
tree180922938e279245f7080cfba10e40d6e1e2151a /lib
parent58a2c2494d32719841ac3aa7a463e1a49852510c (diff)
A better fix for recent changes in Gnulib's acl_entries.c
See https://lists.gnu.org/archive/html/emacs-devel/2025-11/msg00145.html for the related discussions. * nt/mingw-cfg.site (ac_cv_func_acl_entries): Set to "yes" to disable compilation of lib/acl_entries.c on MinGW. * lib/acl_entries.c (acl_entries): Revert last change, as it is no longer needed.
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 f9619c0f539..b78ba18a656 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++;
-#elif !defined __MINGW32__ /* Linux, FreeBSD, NetBSD >= 10, Cygwin >= 2.5 */
+#else /* 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;