+2025-06-12 Bruno Haible <bruno@clisp.org>
+
+ stat: Add support for mingw 13 in 32-bit mode.
+ * lib/sys_stat.in.h (_stat32i64): Redirect to rpl_stat.
+
2025-06-12 Bruno Haible <bruno@clisp.org>
dcomp-script: Reject D compilers with installation problems.
# elif @WINDOWS_64_BIT_ST_SIZE@
/* Above, we define stat to _stati64. */
# if defined __MINGW32__ && defined _stati64
-# ifndef _USE_32BIT_TIME_T
+# ifdef _USE_32BIT_TIME_T
+ /* The system headers possibly define _stati64 to _stat32i64. */
+# undef _stat32i64
+# define _stat32i64(name, st) rpl_stat (name, st)
+# else
/* The system headers define _stati64 to _stat64. */
# undef _stat64
# define _stat64(name, st) rpl_stat (name, st)